A multi-provider token which represents the array of HttpInterceptor
s that
are registered.
Convert a response body to the requested type.
Helper function to convert a response body to an ArrayBuffer.
Helper function to convert a response body to a Blob.
Helper function to convert a response body to JSON data.
Helper function to convert a response body to a string.
Construct an instance of HttpRequestOptions<T>
from a source HttpMethodOptions
and
the given body
. Basically, this clones the object and adds the body.
Determine an appropriate URL for the response, by checking either XMLHttpRequest.responseURL or the X-Request-URL header.
Constructs an HttpHandler
that applies interceptors
to a request before passing it to the given HttpBackend
.
Use as a factory function within HttpClientModule
.
Safely assert whether the given value is an ArrayBuffer.
In some execution environments ArrayBuffer is not defined.
Safely assert whether the given value is a Blob.
In some execution environments Blob is not defined.
Safely assert whether the given value is a FormData instance.
In some execution environments FormData is not defined.
Factory function that determines where to store JSONP callbacks.
Ordinarily JSONP callbacks are stored on the window
object, but this may not exist
in test environments. In that case, callbacks are stored on an anonymous object instead.
Determine whether the given HTTP method may include a body.
Generated using TypeDoc
Union type for all possible events on the response stream.
Typed according to the expected type of the response.