Setu-TS
    Preparing search index...

    Function parseRequestedProtocols

    • Parses a Sec-WebSocket-Protocol header into its comma-separated tokens.

      Parameters

      • header: string | null

        The raw header value, or null when absent

      Returns readonly string[]

      The requested protocol tokens, in client preference order

      0.1.0