Scoop API

scoop:scoop.http.server:0.1.0

RequestMultipartOptions

class RequestMultipartOptions

source · line 6
public
public class RequestMultipartOptions internal constructor(
    /** Existing header, part-count, boundary-padding and decoder chunk limits. */
    public val limits: MultipartLimits = multipartLimits(),
    /** Maximum bytes collected by a text helper, in addition to its explicit limit. */
    public val maxFieldBytes: Long = 65536L,
    /** Maximum actual body bytes consumed from any one part through all entry points. */
    public val maxPartBytes: Long = 8388608L,
    /** Maximum input prefetch per decoder read. */
    public val bufferSize: Long = 8192L
)

Bounded form-data parsing and per-part consumption options.

Extensions

property limits

source · line 8
public
public val limits: MultipartLimits = multipartLimits()

get: public read-only

Existing header, part-count, boundary-padding and decoder chunk limits.

property bufferSize

source · line 14
public
public val bufferSize: Long = 8192L

get: public read-only

Maximum input prefetch per decoder read.

property maxFieldBytes

source · line 10
public
public val maxFieldBytes: Long = 65536L

get: public read-only

Maximum bytes collected by a text helper, in addition to its explicit limit.

property maxPartBytes

source · line 12
public
public val maxPartBytes: Long = 8388608L

get: public read-only

Maximum actual body bytes consumed from any one part through all entry points.