Developers
TypeDoc Reference
@nymproject/mix-fetch
Interfaces
ResponseBodyConfigMap

@nymproject/mix-fetchDocs


@nymproject/mix-fetch / ResponseBodyConfigMap

Interface: ResponseBodyConfigMap

Properties

uint8array?

optional uint8array: (string | RegExp)[]

Set the response Content-Types to decode as uint8array.

Source

types.ts:49 (opens in a new tab)


json?

optional json: (string | RegExp)[]

Set the response Content-Types to decode with the json() response body method.

Source

types.ts:54 (opens in a new tab)


text?

optional text: (string | RegExp)[]

Set the response Content-Types to decode with the text() response body method.

Source

types.ts:59 (opens in a new tab)


formData?

optional formData: (string | RegExp)[]

Set the response Content-Types to decode with the formData() response body method.

Source

types.ts:64 (opens in a new tab)


blob?

optional blob: (string | RegExp)[]

Set the response Content-Types to decode with the blob() response body method.

Source

types.ts:69 (opens in a new tab)


fallback?

optional fallback: ResponseBodyMethod

Set this to the default fallback method. Set to undefined if you want to ignore unknown types.

Source

types.ts:74 (opens in a new tab)