Welcome to mirror list, hosted at ThFree Co, Russian Federation.

iresponse.php « client « http « public « lib - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5355046a2a75500a6a1fa205c94f29b40328a5d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
 * Copyright (c) 2015 Lukas Reschke <lukas@owncloud.com>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

namespace OCP\Http\Client;

/**
 * Interface IResponse
 *
 * @package OCP\Http
 */
interface IResponse {
	/**
	 * @return string
	 */
	public function getBody();

	/**
	 * @return int
	 */
	public function getStatusCode();

	/**
	 * @param $key
	 * @return string
	 */
	public function getHeader($key);

	/**
	 * @return array
	 */
	public function getHeaders();
}