websocket
websocket copied to clipboard
WebSocket implementation for fasthttp.
Fasthttp Gorilla WebSocket
Gorilla WebSocket is a Go implementation of the WebSocket protocol.
This fork adds fasthttp support to the latest version of gorilla/websocket.
Documentation
- API Reference
- Chat example
- Command example
- Client and server example
- File watch example
Status
The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
Installation
go get github.com/fasthttp/websocket
But beware that this will fetch the latest commit of the master branch which is never purposely broken, but usually not considered stable anyway.
Protocol Compliance
The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.