src/Http/ResponseInterface.php
<?php
/*
* This file is part of the VantomasWebsite package.
*
* (c) Thomas Juhnke <dev@van-tomas.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DreadLabs\VantomasWebsite\Http;
/**
* Simple HTTP response interface
*
* @author Thomas Juhnke <dev@van-tomas.de>
*/
interface ResponseInterface
{
/**
* @return int
*/
public function getStatusCode();
/**
* @return bool
*/
public function isSuccess();
/**
* @return array
*/
public function getHeaders();
/**
* @return string
*/
public function getBody();
}