Helper functions to work with PDU.
package |
Default |
---|
convertToPdu(string $json_string) : \RtmClient\Pdu\Pdu
Throws |
|
---|
string
\RtmClient\Pdu\Pdu
pduResponseCode(\RtmClient\Pdu\Pdu $pdu) : integer
\RtmClient\Pdu\Pdu
integer
One of \RtmClient\Pdu\ReturnCode::(CODE_OK_REQUEST|CODE_ERROR_REQUEST|CODE_DATA_REQUEST|CODE_BAD_REQUEST)