Scoop API

scoop:scoop.http:0.1.0

WebSocketFrameLimits

class WebSocketFrameLimits

source · line 71
public
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 75
public
public val maxFrameBytes: Long = 16777216L

get: public read-only

Maximum accepted frame payload bytes.

constructor constructor

source · line 71
public
constructor(public val maxFrameBytes: Long = 16777216L, public val maxMessageBytes: Long = 67108864L, public val dataChunkBytes: Long = 8192L)

property maxMessageBytes

source · line 79
public
public val maxMessageBytes: Long = 67108864L

get: public read-only

Maximum accepted message bytes under the frame parser's message accounting.

property dataChunkBytes

source · line 83
public
public val dataChunkBytes: Long = 8192L

get: public read-only

Maximum emitted data-chunk bytes; must be positive.