api

http4k / org.http4k.client.internal / BlockingQueueClient

BlockingQueueClient

class BlockingQueueClient : WebSocketClient

Constructors

Name Summary
<init> BlockingQueueClient(uri: Uri, headers: Headers, timeout: Duration, draft: Draft, queue: LinkedBlockingQueue<() -> WsMessage?>)

Functions

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