nopolabs/react-aware-guzzle-client

An implementation of GuzzleHttp\Handler\CurlFactoryInterface that plays nicely with React

Maintainers

Package info

github.com/nopolabs/react-aware-guzzle-client

pkg:composer/nopolabs/react-aware-guzzle-client

Statistics

Installs: 241

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-07-12 18:34 UTC

This package is auto-updated.

Last update: 2026-02-13 09:01:06 UTC


README

Build Status Code Climate Scrutinizer Code Quality License Latest Stable Version

An implementation of GuzzleHttp\Handler\CurlFactoryInterface that plays nicely with React.

public function newClient(
        LoopInterface $eventLoop,
        array $config = [],
        CurlFactory $curlFactory = null,
        LoggerInterface $logger = null) : Client
{
    $clientFactory = new ReactAwareGuzzleClientFactory();
    return $clientFactory->createGuzzleClient($eventLoop, $config, $curlFactory, $logger);
}