mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 01:07:39 +08:00
23 lines
567 B
PHP
23 lines
567 B
PHP
<?php
|
|
|
|
namespace GuzzleHttp\Adapter;
|
|
|
|
use GuzzleHttp\Message\ResponseInterface;
|
|
|
|
/**
|
|
* Adapter interface used to transfer HTTP requests.
|
|
*
|
|
* @link http://docs.guzzlephp.org/en/guzzle4/adapters.html for a full
|
|
* explanation of adapters and their responsibilities.
|
|
*/
|
|
interface AdapterInterface
|
|
{
|
|
/**
|
|
* Transfers an HTTP request and populates a response
|
|
*
|
|
* @param TransactionInterface $transaction Transaction abject to populate
|
|
*
|
|
* @return ResponseInterface
|
|
*/
|
|
public function send(TransactionInterface $transaction);
|
|
}
|