*/ namespace ActiveCollab\SDK; /** * @package ActiveCollab\SDK */ interface ResponseInterface { /** * Return HTTP code. * * @return int */ public function getHttpCode(); /** * Return content type. * * @return string */ public function getContentType(); /** * Return an array of response headers. * * @return array */ public function getHeaders(); /** * Return raw response body. * * @return string */ public function getBody(); /** * Return true if response is JSON. * * @return bool */ public function isJson(); /** * Return response body as JSON (when applicable). * * @return mixed */ public function getJson(); }