hostname() = inet:hostname()
ip_port() = inet:port_number()
-type host_or_ip() :: binary() | inet:ip_address().
ok_or_any_error() = rabbit_types:ok_or_error(any())
ok_val_or_error(A) = rabbit_types:ok_or_error2(A, any())
opts() = [{atom(), any()} | {raw, non_neg_integer(), non_neg_integer(), binary()}]
socket() = port() | ssl:sslsocket()
stat_option() = recv_cnt | recv_max | recv_avg | recv_oct | recv_dvi | send_cnt | send_max | send_avg | send_oct | send_pend
async_recv(Sock::socket(), Length::integer(), Timeout::timeout()) -> rabbit_types:ok(any())
close(Sock::socket()) -> ok_or_any_error()
connection_string(Sock::socket(), Direction::inbound | outbound) -> ok_val_or_error(string())
controlling_process(Sock::socket(), Pid::pid()) -> ok_or_any_error()
dist_info() -> any()
fast_close(Sock::socket()) -> ok_or_any_error()
getifaddrs() -> any()
getopts(Sock::socket(), Options::[atom() | {raw, non_neg_integer(), non_neg_integer(), non_neg_integer() | binary()}]) -> ok_val_or_error(opts())
getstat(Sock::socket(), Stats::[stat_option()]) -> ok_val_or_error([{stat_option(), integer()}])
hostname() -> any()
is_loopback(Sock::socket() | inet:ip_address()) -> boolean()
is_ssl(Sock::socket()) -> boolean()
maybe_get_proxy_socket(Sock) -> any()
peercert(Sock::socket()) -> nossl | ok_val_or_error(rabbit_ssl:certificate())
peername(Sock::socket()) -> ok_val_or_error({inet:ip_address(), ip_port()})
port_command(Sock::socket(), Data::iolist()) -> true
proxy_ssl_info(Sock::socket(), X2::ranch_proxy:proxy_socket()) -> nossl | ok_val_or_error([{atom(), any()}])
recv(Sock::socket()) -> {data, [char()] | binary()} | closed | rabbit_types:error(any()) | {other, any()}
send(Sock::socket(), Data::binary() | iolist()) -> ok_or_any_error()
setopts(Sock::socket(), Options::opts()) -> ok_or_any_error()
socket_ends(Sock, Direction) -> any()
sockname(Sock::socket()) -> ok_val_or_error({inet:ip_address(), ip_port()})
ssl_info(Sock::socket()) -> nossl | ok_val_or_error([{atom(), any()}])
sync_recv(Sock::socket(), Length::integer()) -> rabbit_types:ok(binary()) | rabbit_types:error(any())
tcp_host(IPAddress) -> any()
unwrap_socket(Sock) -> any()
Generated by EDoc