Sippet.Transactions.Client.Key (Sippet v1.0.8) View Source

Defines a key in which client transactions are uniquely identified.

Link to this section Summary

Types

The topmost Via header branch parameter

t()

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.

Link to this section Types

Specs

branch() :: binary()

The topmost Via header branch parameter

Specs

t() :: %Sippet.Transactions.Client.Key{
  branch: binary(),
  method: Sippet.Message.method()
}

Link to this section Functions

Specs

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.

Specs

new(branch(), Sippet.Message.method()) :: t()

Create a client transaction identifier.