filbertkm/httplib

There is no license information available for the latest version (0.2) of this package.

Lightweight http library

0.2 2016-06-18 17:36 UTC

This package is not auto-updated.

Last update: 2024-03-25 04:05:25 UTC


README

Build Status

Small php wrapper library around curl.

Usage

$url = 'http://www.openstreetmap.org/api/0.6/capabilities';

$httpClient = new HttpClient( 'HttpClientBot', 'http-client-test' );
$response = $httpClient->get( $url );

Returns response as a string, if successful, or false.

Also supports post and multipart requests.

License

Release notes

0.2

  • Added download method.