httplib/http

contain http codes and methods

1.0.3 2014-08-20 19:35 UTC

This package is auto-updated.

Last update: 2024-03-05 16:49:15 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']]);