Dokumentacja interfejsu Elibri\Watermarking\Http\HttpClient
Dziedziczona przez Elibri\Watermarking\Http\CurlHttpClient.
Metody publiczne | |
| request (string $method, string $url, array $params) | |
Opis szczegółowy
Transport used to talk to elibri.
Implement this to route requests through your own HTTP stack (Guzzle, a PSR-18 client, a recording double in tests) instead of the bundled cURL transport.
Dokumentacja funkcji składowych
◆ request()
| Elibri\Watermarking\Http\HttpClient::request | ( | string | $method, |
| string | $url, | ||
| array | $params | ||
| ) |
Send a form-encoded request and return the raw answer.
- Parametry
-
string $method GET or POST string $url absolute URL, without a query string array<string,string> $params sent as a query string for GET, as a form body for POST
- Wyjątki
-
Implementowany w Elibri\Watermarking\Http\CurlHttpClient.
1.9.1