The adapter to use to complete the request.
Used in conjunction with {@link ProxyRule ProxyRules} to determine the domain name for the resulting {@link Request} URL. If an empty string is provided then a relative URL (one without a protocol or domain name) will be created using the existing domain name and protocol.
The HTTP headers to use on the request.
Can be used to skip certain behaviors. See documentation for details.
The HTTP verb to use.
Combined with the base path (if provided) to construct an absolute or relative URL.
The desired response type. Can be one of ''
(the default),
'text'
, 'json'
, 'arraybuffer'
, 'blob'
or 'document'
. See the XHR spec
for more information. Setting this will change the {@link Response Response.data} type.
The number of milliseconds to wait before aborting the data call.
Whether to send Cookies with the request.
Metadata used to construct a {@link Request} instance.