class RequestMultipartOptions
source · line 6public
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
public fun RequestMultipartOptions.copy(configure: RequestMultipartOptionsBuilder.() -> Unit = {}): RequestMultipartOptions· scoop:scoop.http.server:0.1.0
property limits
source · line 8public
public val limits: MultipartLimits = multipartLimits()
get: public read-only
Existing header, part-count, boundary-padding and decoder chunk limits.
property bufferSize
source · line 14public
public val bufferSize: Long = 8192L
get: public read-only
Maximum input prefetch per decoder read.
property maxFieldBytes
source · line 10public
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 12public
public val maxPartBytes: Long = 8388608L
get: public read-only
Maximum actual body bytes consumed from any one part through all entry points.