aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-11-25 18:05:17 -0500
committerThomas Harning Jr <harningt@gmail.com>2007-11-25 18:05:17 -0500
commitd1943eda4282c598352916aeeb2f23c128d8fa90 (patch)
tree6fe9b60d43819708910aac141d1994b0c58ae74c /doc
parent68736d02322f59130b1b407b483f4d507609d024 (diff)
downloadluaevent-prosody-d1943eda4282c598352916aeeb2f23c128d8fa90.tar.gz
luaevent-prosody-d1943eda4282c598352916aeeb2f23c128d8fa90.zip
bufferevent learned set_*_watermarks
Diffstat (limited to 'doc')
-rw-r--r--doc/modules/luaevent.core.bufferevent.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/modules/luaevent.core.bufferevent.mdwn b/doc/modules/luaevent.core.bufferevent.mdwn
index 5c6a398..eeed2fa 100644
--- a/doc/modules/luaevent.core.bufferevent.mdwn
+++ b/doc/modules/luaevent.core.bufferevent.mdwn
@@ -32,3 +32,13 @@ Functions:
## bufferevent:get_write
* Obtains the output buffer associated w/ the bufferevent
+
+## bufferevent:set_read_watermarks
+* Input: `(low, high)`
+ * `low` - Size of buffer at which an event would be fired
+ * `high` - Maximum size of buffer to read to
+
+## bufferevent:set_write_watermarks
+* Input: `(low, high)`
+ * `low` - When buffer is below this, the event will be fired
+ * `high` - N/A to libevent, user app may use this