Record - http : WSServiceConfig

Configurations for a WebSocket service.


  • 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 the timeoutInMillis config in the http: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.