summaryrefslogtreecommitdiff
path: root/server/vendor/guzzlehttp/guzzle/src/ClientInterface.php
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-04-14 16:24:44 +0200
committerEoleDev <EoleDev@outlook.fr>2016-04-14 16:24:44 +0200
commit24bb5fefbdf93ce0969b7f56cc46c459ebb82a95 (patch)
tree531fc8b774c035040774234efba780a3d4fe9242 /server/vendor/guzzlehttp/guzzle/src/ClientInterface.php
parent646af6fd4d14c5b5edb1372e5f68ed9bdc35b3d2 (diff)
Mise a jour et nettoyage depot
Diffstat (limited to 'server/vendor/guzzlehttp/guzzle/src/ClientInterface.php')
-rw-r--r--server/vendor/guzzlehttp/guzzle/src/ClientInterface.php84
1 files changed, 0 insertions, 84 deletions
diff --git a/server/vendor/guzzlehttp/guzzle/src/ClientInterface.php b/server/vendor/guzzlehttp/guzzle/src/ClientInterface.php
deleted file mode 100644
index 5222dab..0000000
--- a/server/vendor/guzzlehttp/guzzle/src/ClientInterface.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-namespace GuzzleHttp;
-
-use GuzzleHttp\Promise\PromiseInterface;
-use GuzzleHttp\Exception\GuzzleException;
-use Psr\Http\Message\RequestInterface;
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\UriInterface;
-
-/**
- * Client interface for sending HTTP requests.
- */
-interface ClientInterface
-{
- const VERSION = '6.2.0';
-
- /**
- * Send an HTTP request.
- *
- * @param RequestInterface $request Request to send
- * @param array $options Request options to apply to the given
- * request and to the transfer.
- *
- * @return ResponseInterface
- * @throws GuzzleException
- */
- public function send(RequestInterface $request, array $options = []);
-
- /**
- * Asynchronously send an HTTP request.
- *
- * @param RequestInterface $request Request to send
- * @param array $options Request options to apply to the given
- * request and to the transfer.
- *
- * @return PromiseInterface
- */
- public function sendAsync(RequestInterface $request, array $options = []);
-
- /**
- * Create and send an HTTP request.
- *
- * Use an absolute path to override the base path of the client, or a
- * relative path to append to the base path of the client. The URL can
- * contain the query string as well.
- *
- * @param string $method HTTP method.
- * @param string|UriInterface|null $uri URI object or string (default null).
- * @param array $options Request options to apply.
- *
- * @return ResponseInterface
- * @throws GuzzleException
- */
- public function request($method, $uri = null, array $options = []);
-
- /**
- * Create and send an asynchronous HTTP request.
- *
- * Use an absolute path to override the base path of the client, or a
- * relative path to append to the base path of the client. The URL can
- * contain the query string as well. Use an array to provide a URL
- * template and additional variables to use in the URL template expansion.
- *
- * @param string $method HTTP method
- * @param string|UriInterface $uri URI object or string.
- * @param array $options Request options to apply.
- *
- * @return PromiseInterface
- */
- public function requestAsync($method, $uri, array $options = []);
-
- /**
- * Get a client configuration option.
- *
- * These options include default request options of the client, a "handler"
- * (if utilized by the concrete client), and a "base_uri" if utilized by
- * the concrete client.
- *
- * @param string|null $option The config option to retrieve.
- *
- * @return mixed
- */
- public function getConfig($option = null);
-}