filbertkm/httplib

此包最新版本(0.2)没有可用的许可信息。

轻量级http库

0.2 2016-06-18 17:36 UTC

This package is not auto-updated.

Last update: 2024-09-23 06:44:08 UTC


README

Build Status

Small php wrapper library around curl.

用法

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

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

如果成功,返回响应字符串,否则返回false。

也支持POST和multipart请求。

许可证

发行说明

0.2

  • 添加了下载方法。