setSubprotocols(_:)
Adds to the list of supported application protocols that will be presented to a WebSocket server during connection establishment.
Declaration
func setSubprotocols(_ subprotocols: [String])Adds to the list of supported application protocols that will be presented to a WebSocket server during connection establishment.
func setSubprotocols(_ subprotocols: [String])