PHP 7.4.33
Preview: ClientInterface.php Size: 2.88 KB
/home/godevadmin/www/admin/vendor/aws/GuzzleHttp/ClientInterface.php

<?php
namespace GuzzleHttp;

use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;

/**
 * Client interface for sending HTTP requests.
 */
interface ClientInterface
{
    /**
     * @deprecated Will be removed in Guzzle 7.0.0
     */
    const VERSION = '6.5.5';

    /**
     * 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 $uri     URI object or string.
     * @param array               $options Request options to apply.
     *
     * @return ResponseInterface
     * @throws GuzzleException
     */
    public function request($method, $uri, 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);
}

Directory Contents

Dirs: 5 × Files: 15

Name Size Perms Modified Actions
Cookie DIR
- drwxrwxr-x 2024-06-18 20:12:02
Edit Download
Exception DIR
- drwxrwxr-x 2024-06-18 20:12:02
Edit Download
Handler DIR
- drwxrwxr-x 2024-06-18 20:12:04
Edit Download
Promise DIR
- drwxrwxr-x 2024-06-18 20:12:06
Edit Download
Psr7 DIR
- drwxrwxr-x 2024-06-18 20:12:08
Edit Download
18.86 KB lrwxrwxr-x 2024-06-18 20:12:00
Edit Download
2.88 KB lrwxrwxr-x 2024-06-18 20:12:00
Edit Download
10.02 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
166 B lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
7.86 KB lrwxrwxr-x 2024-06-18 20:12:00
Edit Download
7.27 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
9.91 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
4.85 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
3.26 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
8.77 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
10.37 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
3.55 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
3.17 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
8.16 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download
2.82 KB lrwxrwxr-x 2024-06-18 20:12:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).