Namespaces
HttpContentHandler
Defined in: http/http-interfaces.ts
Extended by
Properties
toArrayBuffer
toArrayBuffer: () => ArrayBuffer;Defined in: http/http-interfaces.ts
Gets the response body as ArrayBuffer
Returns
ArrayBuffer
toFile
toFile: (destinationFilePath?: string) => File;Defined in: http/http-interfaces.ts
Gets the response body as file.
Parameters
| Parameter | Type |
|---|---|
destinationFilePath? | string |
Returns
toImage
toImage: () => Promise<ImageSource>;Defined in: http/http-interfaces.ts
Gets the response body as ImageSource.
Returns
Promise<ImageSource>
toJSON
toJSON: (encoding?: HttpResponseEncoding) => any;Defined in: http/http-interfaces.ts
Gets the response body as JSON object.
Parameters
| Parameter | Type |
|---|---|
encoding? | HttpResponseEncoding |
Returns
any
toString
toString: (encoding?: HttpResponseEncoding) => string;Defined in: http/http-interfaces.ts
Gets the response body as string.
Parameters
| Parameter | Type |
|---|---|
encoding? | HttpResponseEncoding |
Returns
string