comparison vendor/zendframework/zend-feed/src/Reader/Http/HeaderAwareClientInterface.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
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 }