INetRequestOptions
Type interface
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
booleanSpecify whether to send CORS credentials (defaults to
false).More info: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials