Skip to content

Instance Property

configuration

The configuration for the HTTP server.
var configuration: HTTPServer.Configuration { get nonmutating set }

Discussion

Although the configuration can be changed after the server has started, a warning will be logged and the configuration will be discarded if an option will no longer be considered.

These include the following properties, which are only read once when the server starts: