DOC/MINOR: fix typos in the lua-api document
Fixes a few typos in the Lua API document.
This commit is contained in:
parent
e0c5435d76
commit
60cfe8b823
@ -1357,7 +1357,7 @@ Channel class
|
|||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
It is not possible to read from the response in request action, and it is
|
It is not possible to read from the response in request action, and it is
|
||||||
not possible to read for the request channel in response action.
|
not possible to read from the request channel in response action.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
It is forbidden to alter the Channels buffer from HTTP contexts. So only
|
It is forbidden to alter the Channels buffer from HTTP contexts. So only
|
||||||
@ -1368,7 +1368,7 @@ Channel class
|
|||||||
All the functions provided by this class are available in the
|
All the functions provided by this class are available in the
|
||||||
**sample-fetches**, **actions** and **filters** contexts. For **filters**,
|
**sample-fetches**, **actions** and **filters** contexts. For **filters**,
|
||||||
incoming data (offset and length) are relative to the filter. Some functions
|
incoming data (offset and length) are relative to the filter. Some functions
|
||||||
may yield, by only for **actions**. Yield is not possible for
|
may yield, but only for **actions**. Yield is not possible for
|
||||||
**sample-fetches**, **converters** and **filters**.
|
**sample-fetches**, **converters** and **filters**.
|
||||||
|
|
||||||
.. js:function:: Channel.append(channel, string)
|
.. js:function:: Channel.append(channel, string)
|
||||||
@ -1567,7 +1567,7 @@ Channel class
|
|||||||
**DEPRECATED**
|
**DEPRECATED**
|
||||||
|
|
||||||
This function returns all incoming data found in the channel buffer. The data
|
This function returns all incoming data found in the channel buffer. The data
|
||||||
are not remove from the buffer and can be reprocessed later.
|
are not removed from the buffer and can be reprocessed later.
|
||||||
|
|
||||||
If there is no incoming data and the channel can't receive more data, a 'nil'
|
If there is no incoming data and the channel can't receive more data, a 'nil'
|
||||||
value is returned.
|
value is returned.
|
||||||
@ -1621,7 +1621,7 @@ Channel class
|
|||||||
:returns: a string containing the line found or nil.
|
:returns: a string containing the line found or nil.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
This function is depdrecated. :js:func:`Channel.line()` must be used to
|
This function is deprecated. :js:func:`Channel.line()` must be used to
|
||||||
retrieve a line followed by a call to :js:func:`Channel:remove()` to remove
|
retrieve a line followed by a call to :js:func:`Channel:remove()` to remove
|
||||||
data.
|
data.
|
||||||
|
|
||||||
@ -1634,7 +1634,7 @@ Channel class
|
|||||||
|
|
||||||
.. js:function:: Channel.get_in_len(channel)
|
.. js:function:: Channel.get_in_len(channel)
|
||||||
|
|
||||||
**DEPDRECATED**
|
**DEPRECATED**
|
||||||
|
|
||||||
This function returns the length of the input part of the buffer. When called
|
This function returns the length of the input part of the buffer. When called
|
||||||
by a filter, this value is relative to the filter.
|
by a filter, this value is relative to the filter.
|
||||||
@ -1648,7 +1648,7 @@ Channel class
|
|||||||
|
|
||||||
.. js:function:: Channel.get_out_len(channel)
|
.. js:function:: Channel.get_out_len(channel)
|
||||||
|
|
||||||
**DEPDRECATED**
|
**DEPRECATED**
|
||||||
|
|
||||||
This function returns the length of the output part of the buffer. When called
|
This function returns the length of the output part of the buffer. When called
|
||||||
by a filter, this value is relative to the filter.
|
by a filter, this value is relative to the filter.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user