.. | ||
.editorconfig | ||
.gitignore | ||
.golangci.yml | ||
client.go | ||
compression.go | ||
conn.go | ||
doc.go | ||
errors.go | ||
join.go | ||
json.go | ||
LICENSE | ||
Makefile | ||
mask.go | ||
mask_safe.go | ||
prepared.go | ||
proxy.go | ||
README.md | ||
SECURITY.md | ||
server.go | ||
server_fasthttp.go | ||
tls_handshake.go | ||
util.go |
Fasthttp WebSocket
WebSocket is a Go implementation of the WebSocket for fasthttp.
This project is a fork of the latest version of gorilla/websocket that continues its development independently.
Documentation
- API Reference
- Chat example
- Command example
- Client and server example
- File watch example
- Write buffer pool example
Status
The 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 WebSocket package passes the server tests in the Autobahn Test Suite using the application in the _examples/autobahn subdirectory.