PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / guzzlehttp / guzzle / src / ClientInterface.php
ameliabooking / vendor / guzzlehttp / guzzle / src Last commit date
Cookie 2 years ago Exception 3 years ago Handler 3 years ago Client.php 3 years ago ClientInterface.php 3 years ago HandlerStack.php 3 years ago MessageFormatter.php 3 years ago Middleware.php 3 years ago Pool.php 3 years ago PrepareBodyMiddleware.php 3 years ago RedirectMiddleware.php 2 years ago RequestOptions.php 5 years ago RetryMiddleware.php 3 years ago TransferStats.php 3 years ago UriTemplate.php 5 years ago Utils.php 3 years ago functions.php 5 years ago functions_include.php 5 years ago
ClientInterface.php
88 lines
1 <?php
2 namespace AmeliaGuzzleHttp;
3
4 use AmeliaGuzzleHttp\Exception\GuzzleException;
5 use AmeliaGuzzleHttp\Promise\PromiseInterface;
6 use AmeliaPsr\Http\Message\RequestInterface;
7 use AmeliaPsr\Http\Message\ResponseInterface;
8 use AmeliaPsr\Http\Message\UriInterface;
9
10 /**
11 * Client interface for sending HTTP requests.
12 */
13 interface ClientInterface
14 {
15 /**
16 * @deprecated Will be removed in Guzzle 7.0.0
17 */
18 const VERSION = '6.5.5';
19
20 /**
21 * Send an HTTP request.
22 *
23 * @param RequestInterface $request Request to send
24 * @param array $options Request options to apply to the given
25 * request and to the transfer.
26 *
27 * @return ResponseInterface
28 * @throws GuzzleException
29 */
30 public function send(RequestInterface $request, array $options = []);
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 * @return PromiseInterface
40 */
41 public function sendAsync(RequestInterface $request, array $options = []);
42
43 /**
44 * Create and send an HTTP request.
45 *
46 * Use an absolute path to override the base path of the client, or a
47 * relative path to append to the base path of the client. The URL can
48 * contain the query string as well.
49 *
50 * @param string $method HTTP method.
51 * @param string|UriInterface $uri URI object or string.
52 * @param array $options Request options to apply.
53 *
54 * @return ResponseInterface
55 * @throws GuzzleException
56 */
57 public function request($method, $uri, array $options = []);
58
59 /**
60 * Create and send an asynchronous HTTP request.
61 *
62 * Use an absolute path to override the base path of the client, or a
63 * relative path to append to the base path of the client. The URL can
64 * contain the query string as well. Use an array to provide a URL
65 * template and additional variables to use in the URL template expansion.
66 *
67 * @param string $method HTTP method
68 * @param string|UriInterface $uri URI object or string.
69 * @param array $options Request options to apply.
70 *
71 * @return PromiseInterface
72 */
73 public function requestAsync($method, $uri, array $options = []);
74
75 /**
76 * Get a client configuration option.
77 *
78 * These options include default request options of the client, a "handler"
79 * (if utilized by the concrete client), and a "base_uri" if utilized by
80 * the concrete client.
81 *
82 * @param string|null $option The config option to retrieve.
83 *
84 * @return mixed
85 */
86 public function getConfig($option = null);
87 }
88