Skip to content

Commit

Permalink
updated the demo code in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Jul 20, 2024
1 parent d130e42 commit e496ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ using WebSocket4Net;

var websocket = new WebSocket("https://localhost/live");

websocket.PackageHandler += (s, p) =>
websocket.PackageHandler += (sender, package) =>
{
Console.WriteLine(p.ToString());
Console.WriteLine(package.Message);
}

await websocket.OpenAsync();
Expand Down

0 comments on commit e496ee9

Please sign in to comment.