6
6
7
7
This library provides classes implementing basic REST clients based on PHP's cURL extension. Two client classes are made available:
8
8
9
- - ** RestClient** - a class for executing RESTful service calls.
10
- - ** RestMultiClient** - a class which extends RestClient to provide curl_multi capabilities to allow multiple RESTful calls to be made in parallel.
9
+ - [ RestClient] ( docs/MikeBrant-RestClientLib-RestClient.md ) - a class for executing RESTful service calls.
10
+ - [ RestMultiClient] ( docs/MikeBrant-RestClientLib-RestMultiClient.md ) - a class which extends RestClient to provide
11
+ curl_multi capabilities to allow multiple RESTful calls to be made in parallel.
11
12
12
13
Additionally, this library provides classes which wrap curl responses within object oriented interface:
13
- - ** CurlHttpResponse** - a class which encapsulates an HTTP response received via cURL into a class wrapper.
14
- - ** CurlMultiHttpResponse** - a class which represents a collection of CurlHttpRepsonse objects as returned from multiple parallel cURL calls.
14
+ - [ CurlHttpResponse] ( docs/MikeBrant-RestClientLib-CurlHttpResponse.md ) - a class which encapsulates an HTTP response
15
+ received via cURL into a class wrapper.
16
+ - [ CurlMultiHttpResponse] ( docs/MikeBrant-RestClientLib-CurlMultiHttpResponse.md ) - a class which represents a collection of
17
+ CurlHttpRepsonse objects as returned from multiple parallel cURL calls.
15
18
16
19
These classes support:
17
20
- HTTP actions - GET, POST, PUT, DELETE, and HEAD
@@ -30,10 +33,13 @@ This library is developed against PHP 7.1 and tested via Travis CI against:
30
33
- PHP Nightly build
31
34
- PHP HHVM (HipHop)
32
35
33
- Please see Travis CI build status at: https://travis-ci.org/mikecbrant/php-rest-client
34
- Please see Code Climate code coverage and health informatoin at: https://codeclimate.com/github/mikecbrant/php-rest-client
36
+ [ Full library documentation] ( /docs/RestClientLib.md )
35
37
36
- This library is available as as mikecbrant/php-rest-client omposer package at https://packagist.org/packages/mikecbrant/php-rest-client
38
+ [ Travis CI build status] ( https://travis-ci.org/mikecbrant/php-rest-client )
39
+
40
+ [ Code Climate code coverage and health information] ( https://codeclimate.com/github/mikecbrant/php-rest-client )
41
+
42
+ [ Packagist page] ( https://packagist.org/packages/mikecbrant/php-rest-client )
37
43
38
44
** Usage example:**
39
45
0 commit comments