This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

ResponseOptionsArgs

Interface for options to construct a Response, based on ResponseInit from the Fetch spec.

Deprecated: see https://angular.io/guide/http

      
      interface ResponseOptionsArgs {
  body?: string | Object | FormData | ArrayBuffer | Blob | null
  status?: number | null
  statusText?: string | null
  headers?: Headers | null
  type?: ResponseType | null
  url?: string | null
}
    

Properties

Property Description
body?: string | Object | FormData | ArrayBuffer | Blob | null
status?: number | null
statusText?: string | null
headers?: Headers | null
type?: ResponseType | null
url?: string | null