From 48f39402181d959cad88cb3f460210c007169f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 12 May 2021 11:13:47 +0200 Subject: Cowboy 2.9.0 --- .../1.8/manual/ranch.resume_listener/index.html | 192 +++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 docs/en/ranch/1.8/manual/ranch.resume_listener/index.html (limited to 'docs/en/ranch/1.8/manual/ranch.resume_listener/index.html') diff --git a/docs/en/ranch/1.8/manual/ranch.resume_listener/index.html b/docs/en/ranch/1.8/manual/ranch.resume_listener/index.html new file mode 100644 index 00000000..cc3eda7d --- /dev/null +++ b/docs/en/ranch/1.8/manual/ranch.resume_listener/index.html @@ -0,0 +1,192 @@ + + + + + + + + + + Nine Nines: ranch:resume_listener(3) + + + + + + + + + + + + + + + + +
+
+
+
+ +

ranch:resume_listener(3)

+ +

Name

+

ranch:resume_listener - Resume a suspended listener

+

Description

+
+
resume_listener(Ref :: ranch_ref())
+    -> ok | {error, any()}
+
+

Resume a suspended listener.

+

Ranch will start listening for and accepting connections again. The function ranch:set_transport_options(3) can be used to change the transport options before resuming the listener.

+

Nothing is done when the listener is already running.

+

Arguments

+
Ref
+

The listener name.

+
+
+

Return value

+

The atom ok is returned on success.

+

An error tuple is returned when the listener could not be restarted.

+

Changelog

+
  • 1.6: Function introduced. +
  • +
+

Examples

+
Resume a listener
+
+
ok = ranch:resume_listener(example).
+
+

See also

+

ranch:start_listener(3), ranch:stop_listener(3), ranch:suspend_listener(3), ranch:get_status(3), ranch:set_transport_options(3), ranch:wait_for_connections(3), ranch(3)

+ + + + + + +
+ +
+ + +

+ Ranch + 1.8 + Function Reference + +

+ + + +

Navigation

+ +

Version select

+ + +

Like my work? Donate!

+

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.

+ + + +
+
+
+
+ + + + + + + + + -- cgit v1.2.3