httplib/http

contain http codes and methods

1.0.3 2014-08-20 19:35 UTC

README

Used to contain all required data in one place

Usage

Simple example

<?php

use HttpLib\Http;

$this->sendRequest(Http::METHOD_GET, 'http://google.com/');

$this->response(Http::CODE_OK, ['result' => ['any data']]);