HttpRuntime Type

The `HttpRuntime` is created from the `SuaveConfig` structure when the web server starts. You can also use the `HttpRuntime` module to create a new value yourself, or use the `empty` one.

Record fields

Record Field Description

compressionFolder

Full Usage: compressionFolder

Field type: string
Field type: string

cookieSerialiser

Full Usage: cookieSerialiser

Field type: CookieSerialiser
Field type: CookieSerialiser

errorHandler

Full Usage: errorHandler

Field type: ErrorHandler
Field type: ErrorHandler

filePartSink

Full Usage: filePartSink

Field type: FilePartSink option

Optional sink factory for streaming multipart file parts without a temp file. When None (the default), each file part is buffered to a temporary file on disk.

Field type: FilePartSink option

hideHeader

Full Usage: hideHeader

Field type: bool
Field type: bool

homeDirectory

Full Usage: homeDirectory

Field type: string
Field type: string

matchedBinding

Full Usage: matchedBinding

Field type: HttpBinding
Field type: HttpBinding

maxContentLength

Full Usage: maxContentLength

Field type: int
Field type: int

mimeTypesMap

Full Usage: mimeTypesMap

Field type: MimeTypesMap
Field type: MimeTypesMap

serverKey

Full Usage: serverKey

Field type: ServerKey
Field type: ServerKey