We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c15d commit 5028f22Copy full SHA for 5028f22
README.md
@@ -123,7 +123,8 @@ makes it very easy to close the connection with a status code and reason.
123
124
The ping API is also nicer. gorilla/websocket requires registering a pong handler on the Conn
125
which results in awkward control flow. With nhooyr/websocket you use the Ping method on the Conn
126
-that sends a ping and also waits for the pong.
+that sends a ping and also waits for the pong, though you must be reading from the connection
127
+for the pong to be read.
128
129
In terms of performance, the differences mostly depend on your application code. nhooyr/websocket
130
reuses message buffers out of the box if you use the wsjson and wspb subpackages.
0 commit comments