HttpRuntime Module

a module that gives you the `empty` (beware) and `create` functions for creating a `HttpRuntime`

Functions and values

Function or value Description

ServerKeyLength

Full Usage: ServerKeyLength

Returns: uint16

The key length in bytes, references `Crypto.KeyLength` which is appropriate for the underlying AES-256 bit symmetric crypto in use.

Returns: uint16

create serverKey errorHandler mimeTypes homeDirectory compressionFolder cookieSerialiser hideHeader maxContentLength binding

Full Usage: create serverKey errorHandler mimeTypes homeDirectory compressionFolder cookieSerialiser hideHeader maxContentLength binding

Parameters:
Returns: HttpRuntime

make a new `HttpRuntime` from the given parameters

serverKey : ServerKey
errorHandler : ErrorHandler
mimeTypes : MimeTypesMap
homeDirectory : string
compressionFolder : string
cookieSerialiser : CookieSerialiser
hideHeader : bool
maxContentLength : int
binding : HttpBinding
Returns: HttpRuntime

empty

Full Usage: empty

Returns: HttpRuntime

warn: this is not to be played around with; prefer using the config defaults instead, from Web.fs, as they contain the logic for printing to the output stream correctly.

Returns: HttpRuntime