Field Notes
    Preparing search index...

    Function readBearerSubprotocol

    • Reads the bearer token from a raw Sec-WebSocket-Protocol header value, if offered.

      Parameters

      • header: string | undefined

      Returns string | undefined