Record -
http
: ListenerConfiguration
Provides a set of configurations for HTTP service endpoints.
Fields
- host string 0.0.0.0
-
The host name/IP of the endpoint
- http1Settings ListenerHttp1Settings {}
-
Configurations related to HTTP/1.x protocol
- secureSocket ListenerSecureSocket? ()
-
The SSL configurations for the service endpoint. This needs to be configured in order to communicate through HTTPS.
- httpVersion string 1.1
-
Highest HTTP version supported by the endpoint
- filters RequestFilter | ResponseFilter []
-
If any pre-processing needs to be done to the request before dispatching the request to the resource, filters can applied
- timeoutInMillis int DEFAULT_LISTENER_TIMEOUT
-
Period of time in milliseconds that a connection waits for a read/write operation. Use value 0 to disable timeout
- auth ListenerAuth
-
Listener authenticaton configurations
- server string? ()
-
The server name which should appear as a response header
- webSocketCompressionEnabled boolean true
-
Enable support for compression in WebSocket