CoreFiles by mySites.guru
ClientInterface.php19 lines, 592 bytes, from wordpress-7.2-RC1.zip
Raw History Compare with 7.1.1-RC1
md5
991a4ce293bcce41b0753e36523e421a
sha1
af5af734c4ac965b68f42058df82a895767953c9
sha256
59b4e1649fd02a557bbf43fd1e58295ba3ea79fd0769174576d1bcd1f1c3cb6e
<?php

namespace WordPress\AiClientDependencies\Psr\Http\Client;

use WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface;
use WordPress\AiClientDependencies\Psr\Http\Message\ResponseInterface;
interface ClientInterface
{
    /**
     * Sends a PSR-7 request and returns a PSR-7 response.
     *
     * @param RequestInterface $request
     *
     * @return ResponseInterface
     *
     * @throws \Psr\Http\Client\ClientExceptionInterface If an error happens while processing the request.
     */
    public function sendRequest(RequestInterface $request): ResponseInterface;
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.