diff options
Diffstat (limited to 'Postman/Postman-Mail/mailgun/vendor/php-http/httplug/src/HttpAsyncClient.php')
-rw-r--r-- | Postman/Postman-Mail/mailgun/vendor/php-http/httplug/src/HttpAsyncClient.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Postman/Postman-Mail/mailgun/vendor/php-http/httplug/src/HttpAsyncClient.php b/Postman/Postman-Mail/mailgun/vendor/php-http/httplug/src/HttpAsyncClient.php deleted file mode 100644 index 492e511..0000000 --- a/Postman/Postman-Mail/mailgun/vendor/php-http/httplug/src/HttpAsyncClient.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -namespace Http\Client; - -use Http\Promise\Promise; -use Psr\Http\Message\RequestInterface; - -/** - * Sends a PSR-7 Request in an asynchronous way by returning a Promise. - * - * @author Joel Wurtz <joel.wurtz@gmail.com> - */ -interface HttpAsyncClient -{ - /** - * Sends a PSR-7 request in an asynchronous way. - * - * Exceptions related to processing the request are available from the returned Promise. - * - * @param RequestInterface $request - * - * @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception. - * - * @throws \Exception If processing the request is impossible (eg. bad configuration). - */ - public function sendAsyncRequest(RequestInterface $request); -} |