Record: ListenerConfiguration

Provides a set of configurations for HTTP service endpoints.

Closed record

Fields

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

  • http1Settings ListenerHttp1Settings(default {})
  • 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 WSS.

  • timeout decimal(default 120)
  • Period of time in seconds that a connection waits for a read/write operation in the initial upgrade request. 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

  • requestLimits RequestLimitConfigs(default {})
  • Configurations associated with inbound request size limits