http4k / org.http4k.client.internal / BlockingQueueClient
class BlockingQueueClient : WebSocketClient
Name | Summary |
---|---|
<init> | BlockingQueueClient(uri: Uri , headers: Headers , timeout: Duration , draft: Draft, queue: LinkedBlockingQueue <() -> WsMessage ?>) |
Name | Summary |
---|---|
onClose | fun onClose(code: Int , reason: String ?, remote: Boolean ): Unit |
onError | fun onError(e: Exception ): Unit |
onMessage | fun onMessage(message: String ): Unit fun onMessage(bytes: ByteBuffer ): Unit |
onOpen | fun onOpen(sh: ServerHandshake): Unit |