Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/net/websocket: protocol URL is obsolete (documentation bug) #2255
The websocket package documentation refers to http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol for the protocol spec. It should refer to http://dev.w3.org/html5/websockets/.
The w3.org spec is about the web browser API for accessing a web socket connection. The Go package does not use that API. The ietf.org spec (which is cited at the bottom of the w3.org spec) defines the wire protocol. That's what the package is implementing. I think the ietf.org link is the correct one for now. Eventually it will just be 'RFC 12345'.
Status changed to WorkingAsIntended.