aboutsummaryrefslogtreecommitdiffstats
path: root/guide/transports.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-09-23 17:16:07 +0300
committerLoïc Hoguin <[email protected]>2014-09-23 17:16:36 +0300
commit46897b979056e7c0d00a676213bf98f2ae147168 (patch)
tree9ce6e9d7024e62bee1931388a9a4d57fcc1b2242 /guide/transports.md
parent22e0f96a6ca9288dca338ffec53f15da06abd839 (diff)
downloadranch-46897b979056e7c0d00a676213bf98f2ae147168.tar.gz
ranch-46897b979056e7c0d00a676213bf98f2ae147168.tar.bz2
ranch-46897b979056e7c0d00a676213bf98f2ae147168.zip
Fix arity of Transport:recv in the guide
Initially reported by "talentdeficit".
Diffstat (limited to 'guide/transports.md')
-rw-r--r--guide/transports.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/transports.md b/guide/transports.md
index aaf530f..5c26c51 100644
--- a/guide/transports.md
+++ b/guide/transports.md
@@ -57,7 +57,7 @@ Transport:send(Socket, ["Ranch", [<<"is">>, "cool!"]]).
```
You can receive data either in passive or in active mode. Passive mode
-means that you will perform a blocking `Transport:recv/2` call, while
+means that you will perform a blocking `Transport:recv/3` call, while
active mode means that you will receive the data as a message.
By default, all data will be received as binary. It is possible to