%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/jalalj2hb/www/G/vendor/php-http/client-common/src/
Upload File :
Create Path :
Current File : /home/jalalj2hb/www/G/vendor/php-http/client-common/src/HttpAsyncClientDecorator.php

<?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 <mark.sagikazar@gmail.com>
 */
trait HttpAsyncClientDecorator
{
    /**
     * @var HttpAsyncClient
     */
    protected $httpAsyncClient;

    /**
     * {@inheritdoc}
     *
     * @see HttpAsyncClient::sendAsyncRequest
     */
    public function sendAsyncRequest(RequestInterface $request)
    {
        return $this->httpAsyncClient->sendAsyncRequest($request);
    }
}

Zerion Mini Shell 1.0