http-message-strategies-interop / example-guzzle-get
GuzzleGet Example of HTTP Message Strategies PSR
0.4.0
2017-05-18 19:14 UTC
Requires
- php: >=7.2.0
- guzzlehttp/guzzle: ^6.0
- http-message-strategies-interop/http-message-strategies: ^0.4
Requires (Dev)
This package is not auto-updated.
Last update: 2024-10-27 02:31:16 UTC
README
Install
$ composer require http-message-strategies-interop/example-guzzle-get
Usage
use Interop\Http\Message\Strategies\Examples\GuzzleGet\GuzzleGet; use GuzzleHttp\Psr7\Request; $gget = new GuzzleGet(['base_uri' => 'https://httpbin.org']); $response0 = $gget(new Request('GET', '/')); $response1 = $gget(new Request('GET', '/get'));
Related
License
MIT © Michael Mayer