You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Note that a new maintainer is needed.
- Remove comparison with x/net/websocket. There's no need to describe
the issues with that package now that the package's documentation
points people here and elsewhere.
<tr><td>Passes <ahref="https://github.com/crossbario/autobahn-testsuite">Autobahn Test Suite</a></td><td><ahref="https://github.com/gorilla/websocket/tree/master/examples/autobahn">Yes</a></td><td>No</td></tr>
44
-
<tr><td>Receive <ahref="https://tools.ietf.org/html/rfc6455#section-5.4">fragmented</a> message<td>Yes</td><td><ahref="https://code.google.com/p/go/issues/detail?id=7632">No</a>, see note 1</td></tr>
<tr><td>Send <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.2">pings</a> and receive <ahref="https://tools.ietf.org/html/rfc6455#section-5.5.3">pongs</a></td><td><ahref="http://godoc.org/github.com/gorilla/websocket#hdr-Control_Messages">Yes</a></td><td>No</td></tr>
47
-
<tr><td>Get the <ahref="https://tools.ietf.org/html/rfc6455#section-5.6">type</a> of a received data message</td><td>Yes</td><td>Yes, see note 2</td></tr>
<tr><td>Read message using io.Reader</td><td><ahref="http://godoc.org/github.com/gorilla/websocket#Conn.NextReader">Yes</a></td><td>No, see note 3</td></tr>
51
-
<tr><td>Write message using io.WriteCloser</td><td><ahref="http://godoc.org/github.com/gorilla/websocket#Conn.NextWriter">Yes</a></td><td>No, see note 3</td></tr>
52
-
</table>
53
-
54
-
Notes:
55
-
56
-
1. Large messages are fragmented in [Chrome's new WebSocket implementation](http://www.ietf.org/mail-archive/web/hybi/current/msg10503.html).
57
-
2. The application can get the type of a received data message by implementing
58
-
a [Codec marshal](http://godoc.org/golang.org/x/net/websocket#Codec.Marshal)
59
-
function.
60
-
3. The go.net io.Reader and io.Writer operate across WebSocket frame boundaries.
61
-
Read returns when the input buffer is full or a frame boundary is
62
-
encountered. Each call to Write sends a single frame message. The Gorilla
63
-
io.Reader and io.WriteCloser operate on a single WebSocket message.
0 commit comments