open class UndertowWebSocketClient : WebSocketClientSupport, WebSocketClient
Undertow based implementation of WebSocketClient.
Author
Violeta Georgieva
Author
Rossen Stoyanchev
Since
5.0
UndertowWebSocketClient(worker: XnioWorker)
Constructor with the XnioWorker to pass to UndertowWebSocketClient(worker: XnioWorker, builderConsumer: Consumer<ConnectionBuilder>)
Alternate constructor providing additional control over the ConnectionBuilder for each WebSocket connection. |
open fun execute(url: URI, handler: WebSocketHandler): Mono<Void>open fun execute(url: URI, headers: HttpHeaders, handler: WebSocketHandler): Mono<Void> |
|
open fun getConnectionBuilderConsumer(): Consumer<ConnectionBuilder>
Return the configured |
|
open fun getPoolBufferSize(): Int
Return the size for Undertow's WebSocketClient |
|
open fun getXnioWorker(): XnioWorker
Return the configured XnioWorker. |
|
open fun setPoolBufferSize(poolBufferSize: Int): Unit
Configure the size of the io.undertow.connector.ByteBufferPool to pass to By default the buffer size is set to 8192. |