Record -
http
: WSServiceConfig
Configurations for a WebSocket service.
Fields
- path string
-
Path of the WebSocket service
- subProtocols string []
-
Negotiable sub protocol by the service
- idleTimeoutInSeconds int 0
-
Idle timeout for the client connection. Upon timeout,
onIdleTimeout
resource (if defined) in the server service will be triggered. Note that this overrides thetimeoutInMillis
config in thehttp:Listener
.
- maxFrameSize int 0
-
The maximum payload size of a WebSocket frame in bytes. If this is not set or is negative or zero, the default frame size will be used.