Configure the client to add an HTTP header to every request.
Configure the client to add an HTTP header to every request.
Configure the client to add an HTTP header to every request.
Configure the client to add an HTTP header to every request.
Close the client. Closing will close down any pooled connections. Clients should always be closed after use.
Returns this client's CookieStore
All cookies added to this store will be sent with every request. The CookieStore honors the domain, path, secure and max-age properties of received cookies and is automatically updated with cookies present in responses received by this client.
Create an HTTP DELETE request to send to the server at the default host and port.
Create an HTTP DELETE request to send to the server at the default host and port.
Create an HTTP DELETE request to send to the server at the specified host and port.
Create an HTTP DELETE request to send to the server at the specified host and port.
Create an HTTP DELETE request to send to the server at the specified host and default port.
Create an HTTP DELETE request to send to the server at the specified host and default port.
Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP DELETE request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP GET request to send to the server at the default host and port.
Create an HTTP GET request to send to the server at the default host and port.
Create an HTTP GET request to send to the server at the specified host and port.
Create an HTTP GET request to send to the server at the specified host and port.
Create an HTTP GET request to send to the server at the specified host and default port.
Create an HTTP GET request to send to the server at the specified host and default port.
Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP GET request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP HEAD request to send to the server at the default host and port.
Create an HTTP HEAD request to send to the server at the default host and port.
Create an HTTP HEAD request to send to the server at the specified host and port.
Create an HTTP HEAD request to send to the server at the specified host and port.
Create an HTTP HEAD request to send to the server at the specified host and default port.
Create an HTTP HEAD request to send to the server at the specified host and default port.
Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP HEAD request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP PATCH request to send to the server at the default host and port.
Create an HTTP PATCH request to send to the server at the default host and port.
Create an HTTP PATCH request to send to the server at the specified host and port.
Create an HTTP PATCH request to send to the server at the specified host and port.
Create an HTTP PATCH request to send to the server at the specified host and default port.
Create an HTTP PATCH request to send to the server at the specified host and default port.
Create an HTTP PATCH request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP PATCH request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP POST request to send to the server at the default host and port.
Create an HTTP POST request to send to the server at the default host and port.
Create an HTTP POST request to send to the server at the specified host and port.
Create an HTTP POST request to send to the server at the specified host and port.
Create an HTTP POST request to send to the server at the specified host and default port.
Create an HTTP POST request to send to the server at the specified host and default port.
Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP POST request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP PUT request to send to the server at the default host and port.
Create an HTTP PUT request to send to the server at the default host and port.
Create an HTTP PUT request to send to the server at the specified host and port.
Create an HTTP PUT request to send to the server at the specified host and port.
Create an HTTP PUT request to send to the server at the specified host and default port.
Create an HTTP PUT request to send to the server at the specified host and default port.
Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive the response
Create an HTTP PUT request to send to the server using an absolute URI, specifying a response handler to receive the response
Removes a previously added header.
Removes a previously added header.
Create an HTTP request to send to the server at the specified host and port.
Create an HTTP request to send to the server at the specified host and port.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the port
and host
parameters.
The request host header will still be created from the port
and host
parameters.
Use to connect to a unix domain socket server.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the port
and host
parameters.
The request host header will still be created from the port
and host
parameters.
Use to connect to a unix domain socket server.
Create an HTTP request to send to the server at the specified host and default port.
Create an HTTP request to send to the server at the specified host and default port.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the default port and host
parameter.
The request host header will still be created from the default port and host
parameter.
Use to connect to a unix domain socket server.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the default port and host
parameter.
The request host header will still be created from the default port and host
parameter.
Use to connect to a unix domain socket server.
Create an HTTP request to send to the server at the default host and port.
Create an HTTP request to send to the server at the default host and port.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the default port and default host.
The request host header will still be created from the default port and default host.
Use to connect to a unix domain socket server.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the default port and default host.
The request host header will still be created from the default port and default host.
Use to connect to a unix domain socket server.
Create an HTTP request to send to the server at the specified host and port.
Like {@link WebClient#request} using the serverAddress
parameter to connect to the
server instead of the options
parameter.
The request host header will still be created from the options
parameter.
Use to connect to a unix domain socket server.
Create an HTTP request to send to the server using an absolute URI
Create an HTTP request to send to the server using an absolute URI
Like {@link WebClient#requestAbs} using the serverAddress
parameter to connect to the
server instead of the absoluteURI
parameter.
The request host header will still be created from the absoluteURI
parameter.
Use to connect to a unix domain socket server.
Like {@link WebClient#requestAbs} using the serverAddress
parameter to connect to the
server instead of the absoluteURI
parameter.
The request host header will still be created from the absoluteURI
parameter.
Use to connect to a unix domain socket server.
Create a session aware web client using the provided webClient
instance.
Create a session aware web client using the provided webClient
instance.
Wrap an httpClient
with a web client and default options.
Wrap an httpClient
with a web client and default options.
Only the specific web client portion of the options
is used, the HttpClientOptions
of the httpClient
is reused.
Generated using TypeDoc
An asynchronous sessions aware HTTP / HTTP/2 client called
WebClientSession
.This client wraps a WebClient and makes it session aware adding features to it:
The client honors the cookies attributes: