io.helidon.webclient.websocket.WsClientProtocolConfig
Description
WebSocket client protocol configuration
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
max- | Size | 1 Mi | Maximum size of a WebSocket message buffered for delivery to a listener |
max- | Size | 1 Mi | Maximum WebSocket frame payload size accepted by the client, from 1 B through Integer. bytes; the default is 1 MiB, replacing the earlier effectively unbounded behavior, and exceeding the configured limit causes the client to close the connection with status code 1009 (Message Too Big) |
sub- | List< | WebSocket sub-protocols requested by the client | |
name | String | websocket | Name of this protocol configuration |
See the manifest for all available types.