From e496ee9465adfeea597dc01f54d1d9dc66fc984d Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Sat, 20 Jul 2024 11:26:36 -0700 Subject: [PATCH] updated the demo code in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c0830e..aec163e 100644 --- a/README.md +++ b/README.md @@ -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();