mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Fix bug in documentation for RequestProcessor class
This commit is contained in:
parent
1613a1052e
commit
7e49da1999
@ -20,7 +20,7 @@
|
|||||||
*
|
*
|
||||||
* Register events (see RequestProcessor::registerEvents() for details):
|
* Register events (see RequestProcessor::registerEvents() for details):
|
||||||
* - <eventPrefix>RequestReceived
|
* - <eventPrefix>RequestReceived
|
||||||
* - <eventPrefix>ReceiveRequestError
|
* - <eventPrefix>RequestError
|
||||||
* - <eventPrefix>ResponseReceived
|
* - <eventPrefix>ResponseReceived
|
||||||
* - <eventPrefix>CallError
|
* - <eventPrefix>CallError
|
||||||
* - <eventPrefix>FunctionCall
|
* - <eventPrefix>FunctionCall
|
||||||
@ -99,7 +99,7 @@ abstract class RequestProcessor {
|
|||||||
* Proccess received packages
|
* Proccess received packages
|
||||||
*
|
*
|
||||||
* On any error function returns only boolean false. To handle error add listener to the
|
* On any error function returns only boolean false. To handle error add listener to the
|
||||||
* "<eventPrefix>ReceiveRequestError" event.
|
* "<eventPrefix>RequestError" event.
|
||||||
*
|
*
|
||||||
* @param string $package Encoded package
|
* @param string $package Encoded package
|
||||||
* @return boolean true if request processed succussfully or false on failure
|
* @return boolean true if request processed succussfully or false on failure
|
||||||
@ -279,7 +279,7 @@ abstract class RequestProcessor {
|
|||||||
* package structure
|
* package structure
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* 2. "<eventPrefix>ReceiveRequestError" - triggers when error occurs during received
|
* 2. "<eventPrefix>RequestError" - triggers when error occurs during received
|
||||||
* request processing.
|
* request processing.
|
||||||
*
|
*
|
||||||
* An associative array passed to event handler have following keys:
|
* An associative array passed to event handler have following keys:
|
||||||
|
Loading…
Reference in New Issue
Block a user