PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.1.0
ShareThis Dashboard for Google Analytics v3.1.0
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / guzzlehttp / guzzle / src / ClientInterface.php
googleanalytics / lib / analytics-admin / vendor / guzzlehttp / guzzle / src Last commit date
Cookie 3 years ago Exception 3 years ago Handler 3 years ago BodySummarizer.php 3 years ago BodySummarizerInterface.php 3 years ago Client.php 3 years ago ClientInterface.php 3 years ago ClientTrait.php 3 years ago HandlerStack.php 3 years ago MessageFormatter.php 3 years ago MessageFormatterInterface.php 3 years ago Middleware.php 3 years ago Pool.php 3 years ago PrepareBodyMiddleware.php 3 years ago RedirectMiddleware.php 3 years ago RequestOptions.php 3 years ago RetryMiddleware.php 3 years ago TransferStats.php 3 years ago Utils.php 3 years ago functions.php 3 years ago functions_include.php 3 years ago
ClientInterface.php
85 lines
1 <?php
2
3 namespace GuzzleHttp;
4
5 use GuzzleHttp\Exception\GuzzleException;
6 use GuzzleHttp\Promise\PromiseInterface;
7 use Psr\Http\Message\RequestInterface;
8 use Psr\Http\Message\ResponseInterface;
9 use Psr\Http\Message\UriInterface;
10
11 /**
12 * Client interface for sending HTTP requests.
13 */
14 interface ClientInterface
15 {
16 /**
17 * The Guzzle major version.
18 */
19 public const MAJOR_VERSION = 7;
20
21 /**
22 * Send an HTTP request.
23 *
24 * @param RequestInterface $request Request to send
25 * @param array $options Request options to apply to the given
26 * request and to the transfer.
27 *
28 * @throws GuzzleException
29 */
30 public function send(RequestInterface $request, array $options = []): ResponseInterface;
31
32 /**
33 * Asynchronously send an HTTP request.
34 *
35 * @param RequestInterface $request Request to send
36 * @param array $options Request options to apply to the given
37 * request and to the transfer.
38 */
39 public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface;
40
41 /**
42 * Create and send an HTTP request.
43 *
44 * Use an absolute path to override the base path of the client, or a
45 * relative path to append to the base path of the client. The URL can
46 * contain the query string as well.
47 *
48 * @param string $method HTTP method.
49 * @param string|UriInterface $uri URI object or string.
50 * @param array $options Request options to apply.
51 *
52 * @throws GuzzleException
53 */
54 public function request(string $method, $uri, array $options = []): ResponseInterface;
55
56 /**
57 * Create and send an asynchronous HTTP request.
58 *
59 * Use an absolute path to override the base path of the client, or a
60 * relative path to append to the base path of the client. The URL can
61 * contain the query string as well. Use an array to provide a URL
62 * template and additional variables to use in the URL template expansion.
63 *
64 * @param string $method HTTP method
65 * @param string|UriInterface $uri URI object or string.
66 * @param array $options Request options to apply.
67 */
68 public function requestAsync(string $method, $uri, array $options = []): PromiseInterface;
69
70 /**
71 * Get a client configuration option.
72 *
73 * These options include default request options of the client, a "handler"
74 * (if utilized by the concrete client), and a "base_uri" if utilized by
75 * the concrete client.
76 *
77 * @param string|null $option The config option to retrieve.
78 *
79 * @return mixed
80 *
81 * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.
82 */
83 public function getConfig(?string $option = null);
84 }
85