Open drewm opened 7 years ago
Note, HTTPlug would require bumping minimum requirements to PHP 5.4, which I think is perfectly acceptable in 2017.
It was nice to see that I was not forced to use composer for once 👍 . Just 1 file and job is done. Nice job. I would change the const TIMEOUT = 10; so that one can access it and change it as others suggest in the thread you have referred to above.
Most of the complexity and issues around this library are from basic HTTP plumbing. HTTP plumbing should be a solved problem.
I'd be interested in feedback for this proposal for v4 of this library.
This enables two usage profiles:
This adds a little bit of build complexity to the project, but would hand off all HTTP duties which are currently the cause of nearly all the issues and complexity in this library.
I'd welcome thoughts and feedback from anyone who uses this library.