Module libp2p_stream_stungun
Data Types
txn_id()
txn_id() = non_neg_integer()
Function Index
| client/2 | |
| dial/5 | |
| handle_data/3 | |
| init/3 | |
| mk_stun_txn/0 | |
| server/4 |
Function Details
client/2
client(Connection, Args) -> any()
dial/5
dial(TID::ets:tab(), PeerAddr::string(), PeerPath::string(), TxnID::txn_id(), Handler::pid()) -> {ok, pid()} | {error, term()}
handle_data/3
handle_data(X1, Code, State) -> any()
init/3
init(X1, Connection, X3) -> any()
mk_stun_txn/0
mk_stun_txn() -> {string(), txn_id()}
server/4
server(Connection, Path, TID, Args) -> any()