Skip to content

Commit

Permalink
support subProtocol & fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
psygames committed May 18, 2022
1 parent f8ecb6b commit 9a68aaf
Show file tree
Hide file tree
Showing 7 changed files with 405 additions and 323 deletions.
6 changes: 3 additions & 3 deletions Assets/UnityWebSocket/Demo/UnityWebSocketDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ namespace UnityWebSocket.Demo
{
public class UnityWebSocketDemo : MonoBehaviour
{
public string address = "ws://127.0.0.1:8080";
public string sendText = "Hello World!";
public bool logMessage = true;
public string address = "wss://echo.websocket.events";
public string sendText = "Hello UnityWebSocket!";

private IWebSocket socket;

private bool logMessage = true;
private string log = "";
private int sendCount;
private int receiveCount;
Expand Down
Loading

0 comments on commit 9a68aaf

Please sign in to comment.