WebSocketWriter
class WebSocketWriter(writeChannel: ByteWriteChannel, coroutineContext: CoroutineContext, masking: Boolean, pool: ObjectPool<ByteBuffer>) : CoroutineScope
Content copied to clipboard
Class that processes written outgoing Websocket Frame, serializes them and writes the bits into the writeChannel.
Constructors
Link copied to clipboard
fun WebSocketWriter(writeChannel: ByteWriteChannel, coroutineContext: CoroutineContext, masking: Boolean = false, pool: ObjectPool<ByteBuffer> = KtorDefaultPool)
Content copied to clipboard
Functions
Properties
Link copied to clipboard
Channel for sending Websocket's Frame that will be serialized and written to writeChannel.
Link copied to clipboard
: ByteBuffer pool to be used by this writer