amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
https://amphp.org/http-client
MIT License
707 stars 66 forks source link

Await events @ HTTP/2 #254

Closed kelunik closed 4 years ago

kelunik commented 4 years ago

Not sure whether HTTP/1 or HTTP/2 is better in calling startReceivingResponse, technically, these are indeed two responses that are started, but one is only intermediate. Should it trigger for the intermediate, the actual response or both?

trowski commented 4 years ago

The actual response IMO.