ResponseOptionsArgs
Interface for options to construct a Response, based on ResponseInit from the Fetch spec.
已弃用: 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
}
属性
属性 | 说明 |
---|---|
body?: string | Object | FormData | ArrayBuffer | Blob | null | |
status?: number | null | |
statusText?: string | null | |
headers?: Headers | null | |
type?: ResponseType | null | |
url?: string | null |