mirror of https://github.com/gorilla/websocket.git
9d9a930c1e | ||
---|---|---|
examples | ||
.gitignore | ||
LICENSE | ||
README.md | ||
client.go | ||
client_server_test.go | ||
conn.go | ||
conn_test.go | ||
doc.go | ||
json.go | ||
json_test.go | ||
server.go | ||
util.go |
README.md
WebSocket
This project is a Go implementation of the WebSocket protocol.
The project passes the server tests in the Autobahn WebSockets Test Suite using the application in the examples/autobahn subdirectory.
Documentation
Features
- Send and receive ping, pong and close control messages.
- Limit size of received messages.
- Stream messages.
- Specify IO buffer sizes.
- Application has full control over origin checks and sub-protocol negotiation.
Installation
go get github.com/gorilla/websocket