ApiRequest
in package
Information on the API request made to the server.
Table of Contents
Properties
- $error : array<string|int, mixed>|mixed
- $resources : array<string|int, mixed>|mixed
- $status : string|mixed
- $statusCode : int|mixed
- $url : string|mixed
Methods
- __construct() : mixed
Properties
$error
public
array<string|int, mixed>|mixed
$error
Error content, if any.
$resources
public
array<string|int, mixed>|mixed
$resources
Information on the target resources
$status
public
string|mixed
$status
Status as sent back by the API.
$statusCode
public
int|mixed
$statusCode
HTTP status code.
$url
public
string|mixed
$url
Methods
__construct()
public
__construct(array<string|int, mixed> $rawResponse) : mixed
Parameters
- $rawResponse : array<string|int, mixed>
-
Raw HTTP response.