mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-02-03 20:40:06 -05:00
22 lines
522 B
PHP
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 = []);
|
|
}
|