baishaojie dcf2cbd820 first commit | vor 11 Monaten | |
---|---|---|
.. | ||
.gitignore | vor 11 Monaten | |
AUTHORS | vor 11 Monaten | |
LICENSE | vor 11 Monaten | |
README.md | vor 11 Monaten | |
client.go | vor 11 Monaten | |
client_clone.go | vor 11 Monaten | |
client_clone_legacy.go | vor 11 Monaten | |
compression.go | vor 11 Monaten | |
conn.go | vor 11 Monaten | |
conn_write.go | vor 11 Monaten | |
conn_write_legacy.go | vor 11 Monaten | |
doc.go | vor 11 Monaten | |
go.mod | vor 11 Monaten | |
go.sum | vor 11 Monaten | |
join.go | vor 11 Monaten | |
json.go | vor 11 Monaten | |
mask.go | vor 11 Monaten | |
mask_safe.go | vor 11 Monaten | |
prepared.go | vor 11 Monaten | |
proxy.go | vor 11 Monaten | |
server.go | vor 11 Monaten | |
trace.go | vor 11 Monaten | |
trace_17.go | vor 11 Monaten | |
util.go | vor 11 Monaten | |
x_net_proxy.go | vor 11 Monaten |
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 |