Runtime Module

Types and nested modules

Type/Module Description

HttpBinding (Module)

ServerKey (Module)

Utilities to ensure server keys are well-formed

SocketBinding (Module)

FilePartSink

A factory invoked once per incoming multipart file part to obtain a FilePartWriter. Receives the field name, file name, and MIME type extracted from the part headers.

FilePartWriter

Holds the stream and completion callbacks for a single multipart file part.

Host

Type alias for string. This is the host as seen from the server; not necessarily as seen from the client.

HttpBinding (Type)

A HTTP binding is a protocol is the product of HTTP or HTTP, a DNS or IP binding and a port number.

HttpUpload

A holder for uploaded file meta-data

MimeType

A file's mime type and if compression is enabled or not

MimeTypesMap

Port

A port is an unsigned short (uint16) structure

Protocol

Gets the supported protocols, HTTP and HTTPS with a certificate

ServerKey (Type)

A server-key is a 256 bit key with high entropy

SocketBinding (Type)

Type extensions

Type extension Description

IPAddress.tryParseC ip

Full Usage: IPAddress.tryParseC ip

Parameters:
    ip : string

Returns: Choice<IPAddress, unit>

Try parse the IP address from a string, returning a choice.

Extended Type: IPAddress

ip : string
Returns: Choice<IPAddress, unit>