WebSocketReader

constructor(    byteChannel: ByteReadChannel,     coroutineContext: CoroutineContext,     maxFrameSize: Long,     pool: ObjectPool<ByteBuffer> = KtorDefaultPool)

Parameters

maxFrameSize

maximum frame size that could be read