| 
				
					 | 
			il y a 1 an | |
|---|---|---|
| .. | ||
| .gitignore | il y a 1 an | |
| AUTHORS | il y a 1 an | |
| LICENSE | il y a 1 an | |
| README.md | il y a 1 an | |
| client.go | il y a 1 an | |
| client_clone.go | il y a 1 an | |
| client_clone_legacy.go | il y a 1 an | |
| compression.go | il y a 1 an | |
| conn.go | il y a 1 an | |
| conn_write.go | il y a 1 an | |
| conn_write_legacy.go | il y a 1 an | |
| doc.go | il y a 1 an | |
| go.mod | il y a 1 an | |
| go.sum | il y a 1 an | |
| join.go | il y a 1 an | |
| json.go | il y a 1 an | |
| mask.go | il y a 1 an | |
| mask_safe.go | il y a 1 an | |
| prepared.go | il y a 1 an | |
| proxy.go | il y a 1 an | |
| server.go | il y a 1 an | |
| trace.go | il y a 1 an | |
| trace_17.go | il y a 1 an | |
| util.go | il y a 1 an | |
| x_net_proxy.go | il y a 1 an | |
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 |