$rawResponse $rawResponse : \OSS\Http\ResponseCore Store the original Response returned by the auth function Type \OSS\Http\ResponseCore
__construct() __construct( $response) Result constructor. Parameters $response ResponseCore Throws \OSS\Core\OssException
getData() getData() Get the returned data, different request returns the data format is different $return mixed
getRawResponse() getRawResponse() : \OSS\Http\ResponseCore Return the original return data Returns \OSS\Http\ResponseCore
parseDataFromResponse() parseDataFromResponse() : \OSS\Result\array() Subclass implementation, different requests return data has different analytical logic, implemented by subclasses Returns \OSS\Result\array()
isResponseOk() isResponseOk() : boolean Judging from the return http status code, [200-299] that is OK Returns boolean
retrieveErrorMessage() retrieveErrorMessage( $body) : string Try to get the error message from body Parameters $body Returns string
retrieveErrorCode() retrieveErrorCode( $body) : string Try to get the error Code from body Parameters $body Returns string