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

Lines changed: 7 additions & 0 deletions
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

Lines changed: 0 additions & 155 deletions
This file was deleted.

src/Request/JsonRequest.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/Response/JsonResponse.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)