Module libp2p_proxy_server

Libp2p Proxy Server

.

Function Index

code_change/3
connection/3
handle_call/3
handle_cast/2
handle_info/2
init/1
proxy/4
start_link/1
terminate/2

Function Details

code_change/3

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

connection/3


connection(TID::ets:tab(), Connection::libp2p_connection:connection(), ID::binary()) -> ok | {error, 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(Args) -> any()

proxy/4


proxy(Swarm::pid(), ID::binary(), ServerStream::pid(), AAddress::string()) -> ok | {error, any()}


start_link/1

start_link(Args) -> any()

terminate/2

terminate(Reason, State) -> any()