【文件属性】:
文件名称:PHP-REST-Client:PHP REST 客户端库
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-23 22:26:19
PHP
PHP REST 客户端
(c) 2014-2015,
具象状态传输 PHP 客户端库。
安装
最好的安装方式是使用依赖管理器。
php composer.phar require romanpitak/php-rest-client
基本用法
$ client = new Client ( 'https://raw.githubusercontent.com/romanpitak' );
$ request = $ client -> newRequest ( '/PHP-REST-Client/master/README.md' );
$ response = $ request -> getResponse ();
echo $ response -> getParsedResponse ();
【文件预览】:
PHP-REST-Client-master
----composer.json(631B)
----LICENSE(1KB)
----src()
--------Response.php(4KB)
--------IClient.php(2KB)
--------Exception.php(227B)
--------ResponseException.php(251B)
--------RequestException.php(248B)
--------IRequest.php(1KB)
--------Client.php(2KB)
--------Request.php(7KB)
--------IResponse.php(1KB)
----.gitignore(21B)
----README.md(1KB)