for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Http\Client\Common;
use Http\Client\HttpAsyncClient;
use Psr\Http\Message\RequestInterface;
/**
* Decorates an HTTP Async Client.
*
* @author Márk Sági-Kazár <[email protected]>
*/
trait HttpAsyncClientDecorator
{
* @var HttpAsyncClient
protected $httpAsyncClient;
* {@inheritdoc}
* @see HttpAsyncClient::sendAsyncRequest
public function sendAsyncRequest(RequestInterface $request)
return $this->httpAsyncClient->sendAsyncRequest($request);
}