commit | 91f589db023d66e4aba7112d44cc0d2fb091c553 | [log] [tgz] |
---|---|---|
author | Gary Burd <gary@beagledreams.com> | Thu Jan 25 18:51:21 2018 |
committer | GitHub <noreply@github.com> | Thu Jan 25 18:51:21 2018 |
tree | d0475dc94da8800996bc3ed3b6efcf0d9bc44031 | |
parent | 292fd08b2560ad524ee37396253d71570339a821 [diff] |
Improve check origin documentation Remove the example code to disable origin checks from the documentation. I am concerned that developers are copying the code without understanding the security implications of the code. Most applications should not use this code. Change the bad origin error message to mention Upgrader.CheckOrigin Mention cross-site request forgery in the Upgrader.CheckOrigin doc.
Gorilla WebSocket is a Go implementation of the WebSocket protocol.
The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
go get github.com/gorilla/websocket
The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.
Notes: