Skip to content

Commit 56f0911

Browse files
committed
Simplify README language
1 parent d0b105c commit 56f0911

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ gorilla/websocket requires you to constantly read from the connection to respond
129129
even if you don't expect the peer to send any messages.
130130

131131
The ping API is also much nicer. Unlike gorilla/websocket, you don't need to register a
132-
callback for pongs, there is a single exported Ping method on the Conn you use that sends
133-
a ping and waits for the pong.
132+
callback for pongs which makes the control flow awkward. There is Ping method on the Conn
133+
that sends a ping and waits for the pong.
134134

135135
In terms of performance, the differences depend on your application code. nhooyr/websocket
136136
reuses buffers efficiently out of the box if you use the wsjson and wspb subpackages whereas

0 commit comments

Comments
 (0)