HTTPlug allows you to write reusable libraries that need an HTTP client without binding to a specific implementation. We provide adapters for existing HTTP Clients, so you can use your regular tools, even in compatible third-party packages. Furthermore, you can implement your own, if you would like to. Need to log each request? Authenticate a request? It's easy. Our powerful plugin system allows you to add custom logic to the request's lifecycle. This package also provides a synchronous HttpClient interface with the same method signature as the PSR-18 client. For synchronous requests, we recommend using PSR-18 directly.
Features
- Decouple your package from implementation
- Use your HTTP Client of choice
- Separate logic using plugins
- Write reusable libraries that need an HTTP client without binding to a specific implementation
- We provide adapters for existing HTTP Clients
- HTTP client standard built on PSR-7 HTTP messages
Categories
HTTP ClientsLicense
MIT LicenseFollow HTTPlug
You Might Also Like
Our Free Plans just got better! | Auth0 by Okta
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of HTTPlug!