Sippet v1.0.1 Sippet.Transactions.Server.Key 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

The topmost Via header branch parameter

Link to this type

sentby()

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

The topmost Via header sent-by parameter

Link to this type

t()

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

Link to this section Functions

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
new(branch(), Sippet.Message.method(), sentby()) :: t()

Creates a server transaction identifier.