You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no way to turn on http/2 in php client without messing with templates atm
Guzzle supports it like this:
use GuzzleHttp\Client;
$client = new Client();
$client->get('https://google.com/', [
'version' => 2.0,
'debug' => true,
]);
Describe the solution you'd like
It looks like a good idea to extend Configuration.php with httpVersion/getHttpVersion/setHttpVersion.
If it's expicitly set by the client consumer, than we can use it in createHttpClientOptions and call it a day
Describe alternatives you've considered
We can also just set version 2.0 by default, but this will probably lead to lots of problems since http/2 support in Guzzle is far from being ideal
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
There is no way to turn on http/2 in php client without messing with templates atm
Guzzle supports it like this:
Describe the solution you'd like
It looks like a good idea to extend
Configuration.php
withhttpVersion
/getHttpVersion
/setHttpVersion
.If it's expicitly set by the client consumer, than we can use it in createHttpClientOptions and call it a day
Describe alternatives you've considered
We can also just set version 2.0 by default, but this will probably lead to lots of problems since http/2 support in Guzzle is far from being ideal
The text was updated successfully, but these errors were encountered: