good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 56f09119 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Simplify README language

parent d0b105ca
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,8 @@ gorilla/websocket requires you to constantly read from the connection to respond
even if you don't expect the peer to send any messages.
The ping API is also much nicer. Unlike gorilla/websocket, you don't need to register a
callback for pongs, there is a single exported Ping method on the Conn you use that sends
a ping and waits for the pong.
callback for pongs which makes the control flow awkward. There is Ping method on the Conn
that sends a ping and waits for the pong.
In terms of performance, the differences depend on your application code. nhooyr/websocket
reuses buffers efficiently out of the box if you use the wsjson and wspb subpackages whereas
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment