Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreylanters authored Sep 16, 2020
1 parent e591317 commit f8b7136
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ public class SocketService : MonoBehaviour {

this.wsConnection.Connect ();

// Sending messages
this.wsConnection.SendMessage("Hi!");
// Queue sending messages, these will always be send in this order.
this.wsConnection.SendMessage("Hello,");
this.wsConnection.SendMessage("World!");
}

private void OnDestroy () {
Expand Down

0 comments on commit f8b7136

Please sign in to comment.