Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 3b55806

Browse files
committed
Fix No handler specified issue introduced in #19
1 parent 02f261e commit 3b55806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Guzzle6HttpAdapter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Guzzle6HttpAdapter implements HttpClient, HttpAsyncClient
3131
public function __construct(ClientInterface $client = null)
3232
{
3333
if (!$client) {
34-
$handlerStack = new HandlerStack();
34+
$handlerStack = new HandlerStack(\GuzzleHttp\choose_handler());
3535
$handlerStack->push(Middleware::prepareBody(), 'prepare_body');
3636
$client = new Client(['handler' => $handlerStack]);
3737
}

0 commit comments

Comments
 (0)