Parses the Sec-WebSocket-Protocol header into a set of subprotocol names. This is extracted from the ws package. This is used internally to verify if a set of protocols is valid.
Sec-WebSocket-Protocol
ws
@rest-vir/define-service
Parses the
Sec-WebSocket-Protocol
header into a set of subprotocol names. This is extracted from thews
package. This is used internally to verify if a set of protocols is valid.