subprotocols(_:)
Set the list of supported application protocols that will be presented to a WebSocket server during connection establishment.
Declaration
func subprotocols(_ subprotocols: [String]) -> WebSocketParameters
- subprotocols:
An array of subprotocol strings.