Свойство | Type | Description | |
---|---|---|---|
$httpStatusCode | null | integer | HTTP status code for the response. | |
$requestUrl | string | Request URI that was used to send the hit. | |
$responseBody | string | Response body. |
Méthode | Description | |
---|---|---|
__construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface | GuzzleHttp\Promise\PromiseInterface $response ) | Gets the relevant data from the Guzzle clients. | |
getDebugResponse ( ) : array | Gets the debug response. Returns empty array if no response found. | |
getHttpStatusCode ( ) : null | integer | Gets the HTTP status code. | |
getRequestUrl ( ) : string | Gets the request URI used to get the response. |
public __construct ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface | GuzzleHttp\Promise\PromiseInterface $response ) | ||
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | GuzzleHttp\Promise\PromiseInterface |
public getDebugResponse ( ) : array | ||
Résultat | array |
public getHttpStatusCode ( ) : null | integer | ||
Résultat | null | integer |
public getRequestUrl ( ) : string | ||
Résultat | string |
protected string $requestUrl | ||
Résultat | string |