Add a request header.
Set the WebSocket sub protocols to use.
Set whether to add the origin
header to the WebSocket handshake request, enabled by default.
Set to false
when a server does not accept WebSocket with an origin header.
Set whether to follow HTTP redirect
Set the host name to be used by the client request.
Set the port to be used by the client request.
Override the HttpClientOptions proxy options for connections.
Set the server address to be used by the client request.
When the server address is null
, the address will be resolved after the host
property by the Vert.x resolver.
Use this when you want to connect to a specific server address without name resolution.
Set the WebSocket sub protocols to use.
Sets the amount of time after which if the WebSocket handshake does not happen within the timeout period an will be passed to the exception handler and the connection will be closed.
Override the operation the tracer use for this request. When no operation is set, the HTTP method is used instead.
Set the request relative URI.
Set the WebSocket version.
Whether write-handlers should be registered on the EventBus.
Defaults to false
.
Set whether SSL/TLS is enabled.
Parse an absolute URI to use, this will update the ssl
, host
,
port
and uri
fields.
Set whether to add the origin
header to the WebSocket handshake request, enabled by default.
Set to false
when a server does not accept WebSocket with an origin header.
Set whether to follow HTTP redirect
Set the host name to be used by the client request.
Set the port to be used by the client request.
Override the HttpClientOptions proxy options for connections.
Whether write-handlers should be registered on the EventBus.
Defaults to false
.
Set the server address to be used by the client request.
When the server address is null
, the address will be resolved after the host
property by the Vert.x resolver.
Use this when you want to connect to a specific server address without name resolution.
Set whether SSL/TLS is enabled.
Set the WebSocket sub protocols to use.
Sets the amount of time after which if the WebSocket handshake does not happen within the timeout period an will be passed to the exception handler and the connection will be closed.
Override the operation the tracer use for this request. When no operation is set, the HTTP method is used instead.
Set the request relative URI.
Set the WebSocket version.
Generated using TypeDoc
Options describing how an HttpClient connect a WebSocket.