ktor-http-cio / io.ktor.http.cio.websocket / WebSocketReader / FrameTooBigException

FrameTooBigException

class FrameTooBigException : Exception, CopyableThrowable<FrameTooBigException>

Raised when the frame is bigger than allowed in a current websocket session

Parameters

frameSize - size of received or posted frame that is too big

Constructors

<init>

FrameTooBigException(frameSize: Long)

Raised when the frame is bigger than allowed in a current websocket session

Properties

frameSize

val frameSize: Long

size of received or posted frame that is too big

message

val message: String

Functions

createCopy

fun createCopy(): FrameTooBigException