INetRequestOptions
Type interface
Options for load().
Sources
INetRequestOptions is an interface: it describes a shape of data and is not imported on its own.
Properties
requestHeadersType { key:
string, value:string}[]Custom request headers to be added to HTTP(S) request.
responseTypeType
XMLHttpRequestResponseTypeSpecify expected response type.
More info: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType
withCredentialsType
undefined|false|trueDefaultfalseSends credentials, such as cookies, with cross-origin requests.
More info: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials