Commit | Line | Data |
---|---|---|
7f254ad8 AE |
1 | <?php |
2 | ||
3 | /* | |
4 | * This file is part of the civicrm-cxn-rpc package. | |
5 | * | |
6 | * Copyright (c) CiviCRM LLC <info@civicrm.org> | |
7 | * | |
8 | * For the full copyright and license information, please view the LICENSE | |
9 | * file that was distributed with this package. | |
10 | */ | |
11 | ||
12 | namespace Civi\Cxn\Rpc\Http; | |
13 | ||
14 | interface HttpInterface { | |
15 | ||
16 | /** | |
17 | * @param string $verb | |
18 | * @param string $url | |
19 | * @param string $blob | |
20 | * @param array $headers | |
21 | * Array of headers (e.g. "Content-type" => "text/plain"). | |
22 | * @return array | |
23 | * array($headers, $blob, $code) | |
24 | */ | |
25 | public function send($verb, $url, $blob, $headers = array()); | |
26 | ||
27 | } |