aboutsummaryrefslogtreecommitdiffstats
path: root/examples
AgeCommit message (Collapse)Author
2017-05-31Deprecated ranch:start_listener/6 and child_spec/6Loïc Hoguin
The NumAcceptors argument has been moved to transport option num_acceptor, which defaults to 10. The functions now take one less argument. The old functions are still here, though deprecated.
2017-01-31Depend on Ranch master in examples1.3.1Michael Klishin
Otherwise they are pinned to 1.2.1. Per discussion with @essen.
2016-11-24Don't include observer in example releaseLoïc Hoguin
2016-11-24Update copyright yearLoïc Hoguin
2016-11-15Remove examples .app.src filesLoïc Hoguin
2016-11-15Properly handle Ctrl+D in examplesLoïc Hoguin
2016-11-15Remove bad advice for gen_server protocolsLoïc Hoguin
Also improves the good example a little by using spawn_link instead of start_link.
2015-03-06Fix examples READMELoïc Hoguin
2014-08-01Update examples Makefile1.0.0Loïc Hoguin
2013-12-07Examples must follow masterLoïc Hoguin
2013-12-07Fix small issues and style of the examplesLoïc Hoguin
2013-12-05Update tcp_echo example to use erlang.mkjosh rotenberg
2013-12-04Add example using gen_serverjosh rotenberg
2013-04-01Remove ranch_listener and replace ListenerPid by RefLoïc Hoguin
We just don't need this process anymore. Less, simpler code! API changes: * Protocols start_link first argument is now Ref instead of ListenerPid * ranch:accept_ack/1 argument is now Ref instead of ListenerPid * ranch_listener:remove_connection/1 becomes ranch:remove_connection/1 and its argument is now Ref instead of ListenerPid Ref is the name of the listener given as first argument to start_listener/6.
2012-08-07Add a TCP Echo protocol exampleLoïc Hoguin