Class Response
Represents an HTTP response, with JSON parsing facility.
- WonderPush\Obj\BaseObject implements WonderPush\Util\JsonSerializable
- ┗ WonderPush\Net\Response
Methods summary
public
parseError( void )
: WonderPush\Errors\Base
The error code encountered while parsing the body, if any.
public
exception( void )
: null|WonderPush\Errors\Base
Returns an exception when there was an error making the call, or if the server returned an error response.
Methods inherited from WonderPush\Obj\BaseObject
__construct()
,
__toString()
,
_new()
,
clearAllFields()
,
deepClone()
,
jsonSerialize()
,
toArray()
,
toData()