ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
891 stars 232 forks source link

Return commands instead of state #285

Closed zuiderkwast closed 2 years ago

zuiderkwast commented 2 years ago

A command is returned instead of a state by these Protocol functions:

headers/12
request/13
keepalive/3
data/7
connect/9
ws_upgrade/11
cancel/5
essen commented 2 years ago

Thanks for going through the hoops! I plan to review/merge tomorrow.

essen commented 2 years ago

Merged, thanks!

If the original PR has something that can be added independently, please open a separate PR. Otherwise please rebase the PR and let's work on merging it!