Skip to content

Latest commit

 

History

History
135 lines (68 loc) · 3.44 KB

ersip_trans_server.md

File metadata and controls

135 lines (68 loc) · 3.44 KB

Module ersip_trans_server

Data Types


request() = term()

response() = term()

state() = Trying | Proceeding | Completed | Terminated

trans_server() = #trans_server{state = state(), last_resp = response() | undefined, transport = reliable | unreliable, options = ersip:sip_options()}

trans_server_map() = #{state => state(), last_resp => response() | undefined, transport => reliable | unreliable, options => ersip:sip_options()}

Function Index

event/2
from_map/1
has_final_response/1Transaction has sent final response.
new/3Create new ServerTrans transaction.
to_map/1

Function Details

event/2


event(Event, ServerTrans::trans_server()) -> result()

from_map/1


has_final_response/1


has_final_response(Trans_server::trans_server()) -> boolean()

Transaction has sent final response

new/3


new(Reliable, Request, Options) -> result()

Create new ServerTrans transaction. Result of creation is ServerTrans state and set of side effects that produced because of creation.

to_map/1