sippet v0.1.8 Sippet.Transaction.Client

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 explicitly

Types

branch()
branch() :: binary
method()
method() :: atom | binary
reason()
reason() :: atom | any
request()
request() :: %Sippet.Message{body: term, headers: term, start_line: %Sippet.Message.RequestLine{method: term, request_uri: term, version: term}, target: term}
response()
response() :: %Sippet.Message{body: term, headers: term, start_line: %Sippet.Message.StatusLine{reason_phrase: term, status_code: term, version: term}, target: term}
t()
t() :: %Sippet.Transaction.Client{branch: branch, method: method}
transaction()
transaction() :: pid | t

Functions

new(incoming_request)
new(request | response) :: t

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

new(branch, method)
new(branch, method) :: t

Create a client transaction identifier explicitly.