https://github.com/gorilla/websocket.git

Gary Burd 273ecadfca Initial commit 12 лет назад
examples 273ecadfca Initial commit 12 лет назад
.gitignore 273ecadfca Initial commit 12 лет назад
LICENSE 273ecadfca Initial commit 12 лет назад
README.md 273ecadfca Initial commit 12 лет назад
client.go 273ecadfca Initial commit 12 лет назад
client_server_test.go 273ecadfca Initial commit 12 лет назад
conn.go 273ecadfca Initial commit 12 лет назад
conn_test.go 273ecadfca Initial commit 12 лет назад
doc.go 273ecadfca Initial commit 12 лет назад
json.go 273ecadfca Initial commit 12 лет назад
json_test.go 273ecadfca Initial commit 12 лет назад
server.go 273ecadfca Initial commit 12 лет назад
util.go 273ecadfca Initial commit 12 лет назад

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