This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - socket : ListenerConfig

Represents the socket server configuration.

Closed record

Fields

  • interface string? (default ())
  • The interface for the server to be bound

  • readTimeoutInMillis int (default 300000)
  • The socket reading timeout value to be used in milliseconds. If this is not set, the default value of 300000 milliseconds (5 minutes) will be used.