Skip to content

Commit 366bc67

Browse files
author
Martin Brecht-Precht
committed
Removed the JSON related implementations from the project.
1 parent b147eba commit 366bc67

File tree

4 files changed

+7
-208
lines changed

4 files changed

+7
-208
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ $response = $request->addAuthentication($clientCertificateAuthentication);
299299

300300
---
301301

302+
## Extending the Basic HTTP Client
303+
304+
Every part of the client is based upon proper interfaces. Most class instances can get injected into the client itself.
305+
If you want to extend the client just write some classes implementing the according interface and you´re done with that.
306+
307+
Take a look at the [PHP JSON HTTP Client](https://github.com/markenwerk/php-json-http-client) which is an extension of the PHP Basic HTTP Client.
308+
302309
## Exception handling
303310

304311
PHP Basic HTTP Client provides different exceptions – also provided by the PHP Common Exceptions project – for proper handling.

src/JsonHttpClient.php

-155
This file was deleted.

src/Request/JsonRequest.php

-24
This file was deleted.

src/Response/JsonResponse.php

-29
This file was deleted.

0 commit comments

Comments
 (0)