nextcloud/lib/public/http/client/iresponse.php

38 lines
557 B
PHP
Raw Normal View History

2015-03-16 13:28:23 +03:00
<?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();
}