Skip to content

http-message-strategies-interop/example-guzzle-get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuzzleGet Example of HTTP Message Strategies PSR (pre-Draft) Build Status Coverage Status Code Climate

SensioLabsInsight

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

About

GuzzleGet Example of HTTP Message Strategies (pre-draft) PSR

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages