http
http copied to clipboard
Event-driven, streaming HTTP client and server implementation for ReactPHP.
This library should support requesting compressed responses and automatically decompress using the `Accept-Encoding` request header and `Content-Encoding` response header. This should be an opt-in feature. Implementing this for buffered requests...
I've just filed #342 to improve documentation for error handling for invalid requests and invalid responses respectively. This is only a first step because this keeps coming up and I...
The request object passed to the request handler should be able to access the underlying socket connection. At the moment, there is no way for the Connection object to be...
The `RequestBodyParserMiddleware` currently accepts a limit on the maximum size for a single request (say 100MIB). If you spawn lots and lots of concurrent requests, you can easily take up...
I'm using the browser http client against a react http server that sends and receives NDJson feeds in a stream to stream fashion (like a packet of Json query for...
The changes introduced in this PR simplify the tested classes' creation. This will pave the path for a significantly small change set for #425 and upcoming PR's that will add...
Currently when `post_max_size` is set to `0` it is not evaluated as "unlimited", but rather as literally zero, so not even a byte is allowed. In all modern versions of...
This PR sets up PHPStan to run on GitHub Actions, as discussed in [discussions#469](https://github.com/orgs/reactphp/discussions/469). ### Overview - [x] Sets up PHPStan to run on GitHub Actions on PHP 8.1 only...
We should support persistent connections (aka HTTP/1.1 Keep-Alive) also for the client side. This suggests major performance improvements, especially when sending a lot of requests to the same remote host...
This changeset resolves a small memory leak that causes roughly 1KB per connection tops. Which isn't a big issue but will make memory fluctuate more. The changeset doesn't introduce any...