Module libp2p_ack_stream

This module defines the libp2p_ack_stream behaviour.
Required callback functions: handle_data/3, accept_stream/3, handle_ack/4.

Function Index

client/2
handle_data/3
handle_info/3
handle_send/5
init/3
send_ack/3
server/4

Function Details

client/2

client(Connection, Args) -> any()

handle_data/3

handle_data(Kind, Data, State) -> any()

handle_info/3

handle_info(Kind, X2, State) -> any()

handle_send/5

handle_send(Kind, From, Msgs, Timeout, State) -> any()

init/3

init(X1, Connection, X3) -> any()

send_ack/3


send_ack(Pid::pid(), Seq::pos_integer(), Reset::boolean()) -> ok


server/4

server(Connection, Path, TID, Args) -> any()