serverino.config

Configuration module for serverino.

Members

Aliases

DaemonConfigPtr
alias DaemonConfigPtr = Typedef!(DaemonConfig*)
Undocumented in source.
WorkerConfigPtr
alias WorkerConfigPtr = Typedef!(WorkerConfig*)
Undocumented in source.
route
alias route(string uri) = route!(r => compareUri!uri(r))

UDA. You can use to filter requests using a uri.

Enums

endpoint
enum endpoint
Undocumented in source.
onDaemonStart
enum onDaemonStart
Undocumented in source.
onDaemonStop
enum onDaemonStop
Undocumented in source.
onServerInit
enum onServerInit
Undocumented in source.
onWorkerStart
enum onWorkerStart
Undocumented in source.
onWorkerStop
enum onWorkerStop
Undocumented in source.

Structs

DaemonConfig
struct DaemonConfig
Undocumented in source.
Listener
struct Listener
Undocumented in source.
ServerinoConfig
struct ServerinoConfig

Struct used to setup serverino. You must return this struct from a function with @onServerInit UDA attached.

WorkerConfig
struct WorkerConfig
Undocumented in source.
priority
struct priority
Undocumented in source.
route
struct route(alias T)

UDA. You can use to filter requests using a function bool(Request request) { }

Meta