function parseRequestedProtocols Since 0.1.0 parseRequestedProtocols(header: string | null): readonly string[] Parses a Sec-WebSocket-Protocol header into its comma-separated tokens. Parameters header: string | null The raw header value, or null when absent Return Type readonly string[] The requested protocol tokens, in client preference order