WebSocket协议的一个Go实现:Gorilla WebSocket
jopen
10年前
Gorilla WebSocket是WebSocket协议的一个Go实现。
Gorilla WebSocket相比其它包
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 | ||
Limit size of received message | Yes | No |
Read message using io.Reader | Yes | No, see note 3 |
Write message using io.WriteCloser | Yes | No, see note 3 |