View Source Sippet.Transactions.Client.Key (Sippet v1.0.16)
Defines a key in which client transactions are uniquely identified.
Summary
Functions
Create a client transaction identifier from an outgoing request or an incoming response. If they are related, they will be equal.
Create a client transaction identifier.
Types
@type branch() :: binary()
The topmost Via header branch parameter
@type t() :: %Sippet.Transactions.Client.Key{ branch: binary(), method: Sippet.Message.method() }
Functions
@spec new(Sippet.Message.t()) :: t()
Create a client transaction identifier from an outgoing request or an incoming response. If they are related, they will be equal.
@spec new(branch(), Sippet.Message.method()) :: t()
Create a client transaction identifier.