diff options
author | Jan Uhlig <[email protected]> | 2021-09-01 14:01:47 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2021-09-01 15:30:34 +0200 |
commit | 581b6954d344eaca2bfcdab663019796e852c778 (patch) | |
tree | a20ea9f96c9fbd9251fc8c570b4e0ff485bccb98 /doc/src/manual/ranch.get_transport_options.asciidoc | |
parent | c7a7cfb9b93f0db9c99ed21c34f67e0b6adfcb62 (diff) | |
download | ranch-581b6954d344eaca2bfcdab663019796e852c778.tar.gz ranch-581b6954d344eaca2bfcdab663019796e852c778.tar.bz2 ranch-581b6954d344eaca2bfcdab663019796e852c778.zip |
Update docs and modernize examples
* Use the map form for transport options everywhere
* Remove mentions of the list form for transport options
* Use a state enter call instead of gen_statem:enter_loop/4 and
proc_lib:start_link/3 in the tcp_reverse example
* Take care of different EOLs in the tcp_reverse example
* Mention state enter calls, the next_event action, and {continue, ...}
in the docs for how to use gen_statem and gen_server
Diffstat (limited to 'doc/src/manual/ranch.get_transport_options.asciidoc')
-rw-r--r-- | doc/src/manual/ranch.get_transport_options.asciidoc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/src/manual/ranch.get_transport_options.asciidoc b/doc/src/manual/ranch.get_transport_options.asciidoc index 0214e0f..9b311da 100644 --- a/doc/src/manual/ranch.get_transport_options.asciidoc +++ b/doc/src/manual/ranch.get_transport_options.asciidoc @@ -24,11 +24,6 @@ The listener name. The current transport options are returned. -If the transport options were specified as only socket options (not a map) using -link:man:ranch:start_listener(3)[ranch:start_listener(3)] or -link:man:ranch:set_transport_options(3)[ranch:set_transport_options(3)], they -are returned as `#{socket_opts => SocketOpts}`. - == Examples .Get the current transport options |