Optional
after?: ((err: ArangojsError | null, res?: ArangojsResponse) => void)Callback that will be invoked when the server response has been received and processed or when the request has been failed without a response.
The originating request will be available as the request
property
on either the error or response object.
Error encountered when handling this request or null
.
Optional
res: ArangojsResponseResponse object for this request, if no error occurred.
Optional
before?: ((req: ClientRequest) => void)Callback that will be invoked with the finished request object before it is finalized. In the browser the request may already have been sent.
Request object or XHR instance used for this request.
Generated using TypeDoc
Additional options for intercepting the request/response. These methods are primarily intended for tracking network related metrics.