Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for retrieving the websocket close code/reason #1675
This PR adds support for retrieving a websocket connections close code and reason. Fairly straightforward, but vibe.d's source is all new territory so please advise if something is glaringly wrong or horrible.
The TL;DR implementation;
Thanks, looks good. The only thing that I noticed is that the WebSocket spec defines some specific values if no explicit close status was sent, so after close, the status should always be