Behaviours: ?GEN_SERVER.
This module defines the xmpp_stream_in behaviour.
Optional callback functions: init/1, handle_cast/2, handle_call/3, handle_info/2, terminate/2, code_change/3, handle_stream_start/2, handle_stream_established/1, handle_stream_end/2, handle_cdata/2, handle_authenticated_packet/2, handle_unauthenticated_packet/2, handle_unbinded_packet/2, handle_auth_success/4, handle_auth_failure/4, handle_send/3, handle_recv/3, handle_timeout/1, get_password_fun/1, get_password_fun/2, check_password_fun/2, check_password_digest_fun/2, bind/2, compress_methods/1, tls_options/1, tls_required/1, tls_enabled/1, sasl_mechanisms/2, unauthenticated_stream_features/1, authenticated_stream_features/1.
state() = map()
stop_reason() = {stream, reset | {in | out, stream_error()}} | {tls, inet:posix() | atom() | binary()} | {socket, inet:posix() | atom()} | internal_failure
accept(Pid::pid()) -> ok
call(Ref, Msg, Timeout) -> any()
cast(Ref, Msg) -> any()
change_shaper(State::state(), Shaper::none | p1_shaper:state()) -> state()
close(Pid::pid()) -> ok
close(Pid::pid(), Reason::atom()) -> ok
code_change(OldVsn, State, Extra) -> any()
format_error(Err::stop_reason()) -> binary()
get_transport(X1) -> any()
handle_call(Call, From, State) -> any()
handle_cast(Cast, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
reply(Ref, Reply) -> any()
send(Pid::pid(), Pkt::xmpp_element()) -> ok
send_error(State::state(), Pkt::xmpp_element() | xmlel(), Err::stanza_error()) -> state()
send_ws_ping(Pid::pid()) -> ok
start(Mod, Args, Opts) -> any()
start_link(Mod, Args, Opts) -> any()
stop(Pid::pid()) -> ok
terminate(Reason, State) -> any()
Generated by EDoc, May 24 2025, 01:26:36.