httplib/http

contain http codes and methods

1.0.3 2014-08-20 19:35 UTC

This package is auto-updated.

Last update: 2021-03-05 10:35:54 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']]);