src/ClientInterface.php

guzzle · src/ClientInterface.php · php · MIT
integration

Interface defining methods for sending HTTP requests synchronously and asynchronously, used by Guzzle HTTP client.

// Source: https://github.com/guzzle/guzzle | License: MIT | Copyright 2011 Michael Dowling <mtdowling@gmail.com>
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare(strict_types=1);

namespace GuzzleHttp;

use GuzzleHttp\Cookie\CookieJarInterface;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamFactoryInterface;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;

/**
 * Client interface for sending HTTP requests.
 */
interface ClientInterface
{
    /**
     * The Guzzl

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key