ninenines / gun

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

Make Protocol:init/4 return an ok-tuple #299

Closed zuiderkwast closed 1 year ago

zuiderkwast commented 1 year ago

This is a preparation for allowing init/4 to return an ok or an error tuple.

This part was done as part preparation for handling send errors as discussed here: https://github.com/ninenines/gun/pull/243#discussion_r824856311

essen commented 1 year ago

Woot! I'm back to work on Tuesday.

essen commented 1 year ago

Merged, thanks!