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

Craig Jackson 3d66655aaa Added WriteJSON/ReadJSON deprecated methods for backwards compatibility. 12 anni fa
examples 273ecadfca Initial commit 12 anni fa
.gitignore 273ecadfca Initial commit 12 anni fa
LICENSE 273ecadfca Initial commit 12 anni fa
README.md 273ecadfca Initial commit 12 anni fa
client.go 273ecadfca Initial commit 12 anni fa
client_server_test.go 273ecadfca Initial commit 12 anni fa
conn.go 1627eef2a3 Improve documentation. 12 anni fa
conn_test.go 273ecadfca Initial commit 12 anni fa
doc.go 273ecadfca Initial commit 12 anni fa
json.go 3d66655aaa Added WriteJSON/ReadJSON deprecated methods for backwards compatibility. 12 anni fa
json_test.go 3d66655aaa Added WriteJSON/ReadJSON deprecated methods for backwards compatibility. 12 anni fa
server.go 1627eef2a3 Improve documentation. 12 anni fa
server_test.go 80c1e5a741 Add Subprotocols helper function. 12 anni fa
util.go 273ecadfca Initial commit 12 anni fa

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