baishaojie dcf2cbd820 first commit | 11 ماه پیش | |
---|---|---|
.. | ||
.gitignore | 11 ماه پیش | |
AUTHORS | 11 ماه پیش | |
LICENSE | 11 ماه پیش | |
README.md | 11 ماه پیش | |
client.go | 11 ماه پیش | |
client_clone.go | 11 ماه پیش | |
client_clone_legacy.go | 11 ماه پیش | |
compression.go | 11 ماه پیش | |
conn.go | 11 ماه پیش | |
conn_write.go | 11 ماه پیش | |
conn_write_legacy.go | 11 ماه پیش | |
doc.go | 11 ماه پیش | |
go.mod | 11 ماه پیش | |
go.sum | 11 ماه پیش | |
join.go | 11 ماه پیش | |
json.go | 11 ماه پیش | |
mask.go | 11 ماه پیش | |
mask_safe.go | 11 ماه پیش | |
prepared.go | 11 ماه پیش | |
proxy.go | 11 ماه پیش | |
server.go | 11 ماه پیش | |
trace.go | 11 ماه پیش | |
trace_17.go | 11 ماه پیش | |
util.go | 11 ماه پیش | |
x_net_proxy.go | 11 ماه پیش |
Gorilla WebSocket is a Go implementation of the WebSocket protocol.
The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
go get github.com/gorilla/websocket
The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.
github.com/gorilla | golang.org/x/net | |
---|---|---|
RFC 6455 Features | ||
Passes Autobahn Test Suite | Yes | No |
Receive fragmented message | Yes | No, see note 1 |
Send close message | Yes | No |
Send pings and receive pongs | Yes | No |
Get the type of a received data message | Yes | Yes, see note 2 |
Other Features | ||
Compression Extensions | Experimental | No |
Read message using io.Reader | Yes | No, see note 3 |
Write message using io.WriteCloser | Yes | No, see note 3 |