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

Defines a key in which server transactions are uniquely identified.

Link to this section Summary

Types

The topmost Via header branch parameter

The topmost Via header sent-by parameter

t()

Functions

Creates a server transaction identifier from an incoming request or an outgoing response. If they are related, they will be equal.

Creates a server transaction identifier.

Link to this section Types

Specs

branch() :: binary()

The topmost Via header branch parameter

Specs

sentby() :: {shost :: binary(), sport :: integer()}

The topmost Via header sent-by parameter

Specs

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

Link to this section Functions

Specs

new(Sippet.Message.t()) :: t()

Creates a server transaction identifier from an incoming request or an outgoing response. If they are related, they will be equal.

Link to this function

new(branch, method, sentby)

View Source

Specs

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

Creates a server transaction identifier.