icingaweb2-module-graphite/library/vendor/iplx/Http/ClientInterface.php
Alexander A. Klimov fc2b083094 Update iplx/Http
2017-12-14 15:04:05 +01:00

22 lines
522 B
PHP

<?php
namespace iplx\Http;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Interface for HTTP clients which send HTTP requests
*/
interface ClientInterface
{
/**
* Send a HTTP request
*
* @param RequestInterface $request Request to send
* @param array $options Request options
*
* @return ResponseInterface The response
*/
public function send(RequestInterface $request, array $options = []);
}