angular / 5.2.11 / api / http / responsecontenttype.html /

ResponseContentType

enum deprecated

npm Package @angular/http
Module import { ResponseContentType } from '@angular/http';
Source http/src/enums.ts

Deprecation Notes

use @angular/common/http instead

Overview

enum ResponseContentType {
  Text
  Json
  ArrayBuffer
  Blob
}

Description

Define which buffer to use to store the response

Members

Text

Json

ArrayBuffer

Blob

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/http/ResponseContentType