Sippet v0.2.8 Sippet.Transactions.Server.Key

Defines a key in which server transactions are uniquely identified.

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

Types

branch()
branch() :: binary

The topmost Via header branch parameter

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

The topmost Via header sent-by parameter

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

Functions

new(incoming_request)

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

new(branch, method, sentby)

Creates a server transaction identifier.