<init>

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