FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
php-http
/
client-common
/
src
Edit File: HttpAsyncClientDecorator.php
<?php namespace AmeliaHttp\Client\Common; use AmeliaHttp\Client\HttpAsyncClient; use AmeliaPsr\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); } }
Save
Back