$throwable $throwable : array Array of HTTP response codes that Resource should throw an exception when encountering Type array
__construct() __construct(\Psr\Http\Message\ResponseInterface $response = null) Response constructor. Parameters \Psr\Http\Message\ResponseInterface $response
getHeader() getHeader( $name) : string|null Get a specific header Parameters $name Returns string|null
setBody() setBody( $body) Set the raw response body and trigger the parser to update the payload Parameters $body
parse() parse(string $body) : mixed Parse/decode the response body for processing Parameters string $body Returns mixed