$httpStatusCode
$httpStatusCode : integer
Class AdventureResResponse
$request : \AdventureRes\Http\AdventureResRequest
$thrownException : \AdventureRes\Exceptions\AdventureResResponseException
__construct(\AdventureRes\Http\AdventureResRequest $request, string|null $body = null, integer|null $httpStatusCode = null, string|null $headers = null)
Creates a new Response entity.
\AdventureRes\Http\AdventureResRequest | $request | |
string|null | $body | |
integer|null | $httpStatusCode | |
string|null | $headers |
getRequest() : \AdventureRes\Http\AdventureResRequest
Return the original request that returned this response.
getThrownException() : \AdventureRes\Exceptions\AdventureResResponseException|null
Returns the exception that was thrown for this request.