Record - http : ListenerConfiguration

Provides a set of configurations for HTTP service endpoints.

Fields

  • host string (default 0.0.0.0)
  • The host name/IP of the endpoint

  • secureSocket ListenerSecureSocket? (default ())
  • The SSL configurations for the service endpoint. This needs to be configured in order to communicate through HTTPS.

  • httpVersion string (default 1.1)
  • Highest HTTP version supported by the endpoint

  • filters RequestFilter | ResponseFilter[] (default [])
  • If any pre-processing needs to be done to the request before dispatching the request to the resource, filters can applied

  • timeoutInMillis int (default DEFAULT_LISTENER_TIMEOUT)
  • Period of time in milliseconds that a connection waits for a read/write operation. Use value 0 to disable timeout

  • server string? (default ())
  • The server name which should appear as a response header

  • webSocketCompressionEnabled boolean (default true)
  • Enable support for compression in WebSocket