ServerConfig
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Type members
Value members
Concrete methods
Concrete fields
If set to true the server will automatically restart when any configuration option changes. If set to false the server must be manually restarted before changes will take effect.
If set to true the server will automatically restart when any configuration option changes. If set to false the server must be manually restarted before changes will take effect.
Default is true.
Attributes
Enables HTTP/2 support for the server. Defaults to true.
Enables HTTP/2 support for the server. Defaults to true.
Attributes
Listeners for the server. Support HTTP and HTTPS listeners. Use addHttpListener and addHttpsListener for easier usage.
Listeners for the server. Support HTTP and HTTPS listeners. Use addHttpListener and addHttpsListener for easier usage.
Defaults to one HTTP listener on 127.0.0.1:8080. This can be managed in code or via configuration. Storing an HttpServerListener instance to "listeners.http" or HttpsServerListener to "listeners.https" will override the defaults if done before this property is accessed for the first time. This can also be overridden via command-line using specifics like "-listeners.http.host=0.0.0.0". HTTPS is configured by default, but enabled is set to false. To easily enable HTTPS just pass "-listeners.https.enabled=true".
Attributes
The Server name set in the HTTP header
The Server name set in the HTTP header
Attributes
Enables reuse of connections. Defaults to true.
Enables reuse of connections. Defaults to true.