Skip to content

Class: Authority ​

Raw-QUIC only: the authority component of the moqt:// URI, carried in SETUP because there is no HTTP CONNECT to carry it.

Client-only; MUST NOT be sent by a server or over WebTransport. moqtail-ts always connects over WebTransport, so its own handshake never sends this — see MOQtailClient.init.

Implements ​

Constructors ​

Constructor ​

new Authority(authority): Authority

Parameters ​

authority ​

string

Returns ​

Authority

Properties ​

authority ​

readonly authority: string


TYPE ​

readonly static TYPE: Authority = SetupOptionType.Authority

Methods ​

toKeyValuePair() ​

toKeyValuePair(): KeyValuePair

Returns ​

KeyValuePair

Implementation of ​

Parameter.toKeyValuePair


fromKeyValuePair() ​

static fromKeyValuePair(pair): Authority | undefined

Parameters ​

pair ​

KeyValuePair

Returns ​

Authority | undefined