Module libp2p_relay_server

Libp2p Relay Server

.

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
negotiated/2
relay/1
replace/2
start_link/1
stop/1
terminate/2

Function Details

code_change/3

code_change(OldVsn, State, Extra) -> any()

handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Msg, State) -> any()

init/1

init(TID) -> any()

negotiated/2


negotiated(Swarm::pid(), Address::string()) -> ok | {error, any()}


relay/1


relay(Swarm::pid()) -> ok | {error, any()}


replace/2


replace(Address::string(), Swarm::pid()) -> ok | {error, any()}


start_link/1

start_link(Args) -> any()

stop/1


stop(Swarm::pid()) -> ok | {error, any()}


terminate/2

terminate(Reason, State) -> any()