info() -> #{Ref := Info} info(Ref) -> Info Info :: #{Key :: atom() := Value :: any()}
ranch:info - Overview of Ranch listeners
info() -> #{Ref := Info} info(Ref) -> Info Info :: #{Key :: atom() := Value :: any()}
Overview of Ranch listeners.
The listener name.
Returns detailed information about one or all Ranch listeners. The following keys are returned:
Pid of the listener's top-level supervisor.
Listener status, either running or suspended.
Interface Ranch listens on.
Port number Ranch listens on.
Maximum number of connections per connection supervisor.
Number of active connections.
Number of connections, including those removed from the count.
Transport module.
Transport options.
Protocol module.
Protocol options.
num_acceptors
key has been removed.
AllInfo = ranch:info().
Info = ranch:info(example).
ranch:get_addr(3), ranch:get_port(3), ranch:procs(3), ranch(3)
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via BountySource. These funds are used to cover the recurring expenses like dedicated servers or domain names.