Wire primitives and message codecs shared by draft-14 implementations.
Summary
Functions
Encodes a draft-14 AUTHORIZATION TOKEN using Alias Type USE_VALUE.
Functions
@spec authorization_token(binary(), non_neg_integer()) :: binary()
Encodes a draft-14 AUTHORIZATION TOKEN using Alias Type USE_VALUE.
@spec decode_control(binary()) :: {:ok, [{non_neg_integer(), binary()}], binary()} | {:error, term()}
@spec decode_server_setup(binary()) :: {:ok, non_neg_integer()} | {:error, term()}
@spec decode_varint(binary()) :: {:ok, non_neg_integer(), binary()} | :more
@spec encode_subgroup(non_neg_integer(), MOQX.Object.t()) :: binary()
@spec encode_varint(non_neg_integer()) :: binary()
@spec subscribe(non_neg_integer(), MOQX.TrackRef.t(), keyword()) :: binary()
@spec unsubscribe(non_neg_integer()) :: binary()