Optional beforeCallback that will be invoked immediately before the send method of the
request is called.
See also RequestInterceptors.
Optional maxMaximum number of parallel requests arangojs will perform. If any additional requests are attempted, they will be enqueued until one of the active requests has completed.
Optional timeout?: numberNumber of milliseconds to wait for a response.
Default: 0 (disabled)
Optional use(Internet Explorer 10 and lower only.) Whether XDomainRequest should be
used instead of XMLHttpRequest. Only required for performing
cross-domain requests in older versions of Internet Explorer.
Optional withSpecifies whether browser credentials (e.g. cookies) should be sent if performing a cross-domain request.
Optional xhr?: anyXMLHttpRequest object to use instead of the native implementation.
Generated using TypeDoc
Options of the
xhrmodule that can be set usingagentOptionswhen using arangojs in the browser. AdditionallymaxSocketscan be used to control the maximum number of parallel requests.See also:
xhron npm.