class WebSocketFrameLimits
source · line 71public
public class WebSocketFrameLimits public constructor(
/**
* Maximum accepted frame payload bytes.
*/
public val maxFrameBytes: Long = 16777216L,
/**
* Maximum accepted message bytes under the frame parser's message accounting.
*/
public val maxMessageBytes: Long = 67108864L,
/**
* Maximum emitted data-chunk bytes; must be positive.
*/
public val dataChunkBytes: Long = 8192L
)
Nonnegative per-frame and per-message byte limits with a positive emitted chunk size.
Extensions
property maxFrameBytes
source · line 75public
public val maxFrameBytes: Long = 16777216L
get: public read-only
Maximum accepted frame payload bytes.
constructor constructor
source · line 71public
constructor(public val maxFrameBytes: Long = 16777216L, public val maxMessageBytes: Long = 67108864L, public val dataChunkBytes: Long = 8192L)
parameter dataChunkBytes
source · line 83public
public val dataChunkBytes: Long = 8192L
parameter maxMessageBytes
source · line 79public
public val maxMessageBytes: Long = 67108864L
parameter maxFrameBytes
source · line 75public
public val maxFrameBytes: Long = 16777216L
property maxMessageBytes
source · line 79public
public val maxMessageBytes: Long = 67108864L
get: public read-only
Maximum accepted message bytes under the frame parser's message accounting.
property dataChunkBytes
source · line 83public
public val dataChunkBytes: Long = 8192L
get: public read-only
Maximum emitted data-chunk bytes; must be positive.