Constructs a new settings object with default values.
Constructs a new settings object with a custom bind interface and/or port.
Returns a duplicate of the settings object.
Sets a custom handler for displaying error pages for HTTP errors
Scheduled for deprecation - use a @safe callback instead.
Spefifies the name of a file to which access log messages are appended.
Specifies the format used for the access log.
If set, access log entries will be output to the console.
Specifies a custom access logger instance.
The interfaces on which the HTTP server is listening.
Disable support for VibeDist and instead start listening immediately.
Determines the server host name.
Maximum time between two request on a keep-alive connection
Maximum number of transferred bytes for the request header. This includes the request line the url and all headers.
Maximum number of transferred bytes per request after which the connection is closed with an error
Time of a request after which the connection is closed with an error; not supported yet
Configures optional features of the HTTP server
The port on which the HTTP server is listening.
Provides a way to reject incoming connections as early as possible.
Session options to use when initializing a new session.
Session management is enabled if a session store instance is provided
If set, a HTTPS server will be started instead of plain HTTP.
Responds to "Accept-Encoding" by using compression if possible.
Interval between WebSocket ping frames.
Contains all settings for configuring a basic HTTP server.
The defaults are sufficient for most normal uses.