| Package | Description |
|---|---|
| org.apache.hc.client5.http.websocket.client |
High-level asynchronous WebSocket client.
|
| org.apache.hc.client5.http.websocket.client.impl |
Public WebSocket API for client applications.
|
| Modifier and Type | Method and Description |
|---|---|
CloseableWebSocketClient |
WebSocketClientBuilder.build()
Builds a new
CloseableWebSocketClient instance using the
current builder configuration. |
static CloseableWebSocketClient |
WebSocketClients.createDefault()
Creates a
CloseableWebSocketClient instance with
default configuration. |
static CloseableWebSocketClient |
WebSocketClients.createWith(WebSocketClientConfig defaultConfig)
Creates a
CloseableWebSocketClient instance using
the given default WebSocket configuration. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultWebSocketClient
Default WebSocket client implementation that manages the I/O reactor lifecycle,
connection pool, and protocol strategy selection (HTTP/1.1 Upgrade or HTTP/2
Extended CONNECT with automatic fallback).
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.