OptionallistenersOptional listeners that can be immediately attached to the WebSocket instance instead of requiring externally adding them.
OptionalpathParameters for WebSocket paths that need them, like '/my-path/:param1/:param2'.
OptionalprotocolsA list of WebSocket protocols. This is the standard built-in argument for the WebSocket
constructor.
OptionalsearchOptionalwebA custom WebSocket constructor. Useful for debugging or unit testing. This can safely be
omitted to use the default JavaScript built-in global WebSocket class.
Generic connection parameters for
connectWebSocket.Package
@rest-vir/define-service