get_status(Ref :: ranch_ref()) -> running | suspended
ranch:get_status - Get a listener's running state
get_status(Ref :: ranch_ref()) -> running | suspended
Get a listener's running state.
The listener name.
An atom is returned indicating the running status of the listener.
ranch:get_status(example).
ranch:start_listener(3), ranch:stop_listener(3), ranch:suspend_listener(3), ranch:resume_listener(3), ranch:set_transport_options(3), ranch:wait_for_connections(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 GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.