<init>

WebSocketReader(
    byteChannel: ByteReadChannel,
    maxFrameSize: Long,
    parent: Job?,
    coroutineContext: <ERROR CLASS>,
    pool: ObjectPool<ByteBuffer> = KtorDefaultPool)
WebSocketReader(
    byteChannel: ByteReadChannel,
    coroutineContext: <ERROR CLASS>,
    maxFrameSize: Long,
    pool: ObjectPool<ByteBuffer> = KtorDefaultPool)

Class that continuously reads a byteChannel and converts into Websocket Frame exposing them in incoming.

Parameters

maxFrameSize - maximum frame size that could be read