Send a DELETE request to the given url with the given options
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Send a GET request to the given url with the given options
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Send a PATCH request to the given url with the given options
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Send a POST request to the given url with the given options
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Send a PUT request to the given url with the given options
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Make a request to the given url with the given options.
the type of the response body, default is any
the url to be requested. If the url starts with '/', it will be appended to the base url
the method to be used, default is GET
the options to make the request (see RequestOptions)
a Promise that resolves to a Gobits Response object
Add a middleware to the request and response pipeline
the middleware to be added
the Gobits instance to allow chaining
Generated using TypeDoc
Gobits is the object that acts as an HTTP client. The default behavior can be configured using the global options when constructing the object.