prettymuchbryce/http-status-codes

Status codes for socket?

Closed this issue · 4 comments

Hey I like your project and are you interested to implement the status codes for the socket?

https://tools.ietf.org/html/rfc6455#section-7.4

Interesting. Yes I think it would be appropriate.

Status?

I have no strong objections to adding this, although from a semantic perspective it is a little strange considering that this project is called node-http-status and WebSocket is a different protocol from HTTP.

Also it seems like HTTP status codes have a code, reason phrase, and message. WebSocket codes only have a status and a "meaning" (akin to a reason phrase in HTTP).

Closing due to inactivity