doc/modules/luaevent.core.bufferevent.mdwn

changeset 57
e20f175aa158
parent 56
b5b5ff03a4a3
child 58
03d12148100c
equal deleted inserted replaced
56:b5b5ff03a4a3 57:e20f175aa158
30 ## bufferevent:get_read 30 ## bufferevent:get_read
31 * Obtains the input buffer associated w/ the bufferevent 31 * Obtains the input buffer associated w/ the bufferevent
32 32
33 ## bufferevent:get_write 33 ## bufferevent:get_write
34 * Obtains the output buffer associated w/ the bufferevent 34 * Obtains the output buffer associated w/ the bufferevent
35
36 ## bufferevent:set_read_watermarks
37 * Input: `(low, high)`
38 * `low` - Size of buffer at which an event would be fired
39 * `high` - Maximum size of buffer to read to
40
41 ## bufferevent:set_write_watermarks
42 * Input: `(low, high)`
43 * `low` - When buffer is below this, the event will be fired
44 * `high` - N/A to libevent, user app may use this

mercurial