Scoop API

scoop:scoop.http:0.1.0

MultipartLimits

class MultipartLimits

source · line 7
public
public class MultipartLimits internal constructor(
    /**
     * Maximum bytes in a part's header block.
     */
    public val maxHeaderBytes: Long = 65536L,
    /**
         * Maximum fields in one part.
         */
    public val maxFields: Long = 100L,
    /**
     * Maximum parts in the message.
     */
    public val maxParts: Long = 1024L,
    /**
         * Maximum permitted padding bytes on a boundary line.
         */
    public val maxBoundaryPaddingBytes: Long = 1024L,
    /**
     * Maximum size of an emitted body-data chunk; must be positive.
     */
    public val dataChunkBytes: Long = 8192L
)

Local limits for part headers, field counts, part counts, boundary padding, and emitted data-chunk size. Counts may be zero; chunk size must be positive.

Extensions

property maxParts

source · line 19
public
public val maxParts: Long = 1024L

get: public read-only

Maximum parts in the message.

property maxFields

source · line 15
public
public val maxFields: Long = 100L

get: public read-only

Maximum fields in one part.

property maxHeaderBytes

source · line 11
public
public val maxHeaderBytes: Long = 65536L

get: public read-only

Maximum bytes in a part's header block.

property maxBoundaryPaddingBytes

source · line 23
public
public val maxBoundaryPaddingBytes: Long = 1024L

get: public read-only

Maximum permitted padding bytes on a boundary line.

property dataChunkBytes

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

get: public read-only

Maximum size of an emitted body-data chunk; must be positive.