Module ranch_server

Behaviours: gen_server.

Function Index

cleanup_listener_opts/1
code_change/3
count_connections/1
get_addr/1
get_connections_sup/1
get_max_connections/1
get_protocol_options/1
handle_call/3
handle_cast/2
handle_info/2
init/1
set_addr/2
set_connections_sup/2
set_max_connections/2
set_new_listener_opts/3
set_protocol_options/2
start_link/0
terminate/2

Function Details

cleanup_listener_opts/1

cleanup_listener_opts(Ref::ranch:ref()) -> ok

code_change/3

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

count_connections/1

count_connections(Ref::ranch:ref()) -> non_neg_integer()

get_addr/1

get_addr(Ref::ranch:ref()) -> {inet:ip_address(), inet:port_number()}

get_connections_sup/1

get_connections_sup(Ref::ranch:ref()) -> pid()

get_max_connections/1

get_max_connections(Ref::ranch:ref()) -> ranch:max_conns()

get_protocol_options/1

get_protocol_options(Ref::ranch:ref()) -> any()

handle_call/3

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

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

set_addr/2

set_addr(Ref::ranch:ref(), Addr::{inet:ip_address(), inet:port_number()}) -> ok

set_connections_sup/2

set_connections_sup(Ref::ranch:ref(), Pid::pid()) -> ok

set_max_connections/2

set_max_connections(Ref::ranch:ref(), MaxConnections::ranch:max_conns()) -> ok

set_new_listener_opts/3

set_new_listener_opts(Ref::ranch:ref(), MaxConns::ranch:max_conns(), Opts::any()) -> ok

set_protocol_options/2

set_protocol_options(Ref::ranch:ref(), ProtoOpts::any()) -> ok

start_link/0

start_link() -> {ok, pid()}

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc, May 1 2016, 01:44:51.