Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-feed/src/Reader/Http/HeaderAwareClientInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 /** | |
3 * Zend Framework (http://framework.zend.com/) | |
4 * | |
5 * @link http://github.com/zendframework/zf2 for the canonical source repository | |
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) | |
7 * @license http://framework.zend.com/license/new-bsd New BSD License | |
8 */ | |
9 | |
10 namespace Zend\Feed\Reader\Http; | |
11 | |
12 interface HeaderAwareClientInterface extends ClientInterface | |
13 { | |
14 /** | |
15 * Allow specifying headers to use when fetching a feed. | |
16 * | |
17 * Headers MUST be in the format: | |
18 * | |
19 * <code> | |
20 * [ | |
21 * 'header-name' => [ | |
22 * 'header', | |
23 * 'values' | |
24 * ] | |
25 * ] | |
26 * </code> | |
27 * | |
28 * @param string $uri | |
29 * @param array $headers | |
30 * @return HeaderAwareResponseInterface | |
31 */ | |
32 public function get($uri, array $headers = []); | |
33 } |