This repository was archived by the owner on Jun 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ int main() {
5858 };
5959
6060 // Example 2: Echo thrice
61- // Send a received message three times back to the client
61+ // Demonstrating queuing of messages by sending a received message three times back to the client.
62+ // send_stream2 is automatically queued by the library after the first send call,
63+ // and send_stream3 is queued after the first send call through its callback
6264 // Test with the following JavaScript:
6365 // var ws=new WebSocket("ws://localhost:8080/echo_thrice");
6466 // ws.onmessage=function(evt){console.log(evt.data);};
Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ int main() {
5858 };
5959
6060 // Example 2: Echo thrice
61- // Send a received message three times back to the client
61+ // Demonstrating queuing of messages by sending a received message three times back to the client.
62+ // send_stream2 is automatically queued by the library after the first send call,
63+ // and send_stream3 is queued after the first send call through its callback
6264 // Test with the following JavaScript:
6365 // var wss=new WebSocket("wss://localhost:8080/echo_thrice");
6466 // wss.onmessage=function(evt){console.log(evt.data);};
You can’t perform that action at this time.
0 commit comments