From b3135f3ebc97f0a91bb548715ff5c685e0256b84 Mon Sep 17 00:00:00 2001 From: Alecio Furanze Date: Sat, 16 Dec 2023 10:27:50 +0200 Subject: [PATCH] ``fix`` websocket-server example. (import namespace, and create instance object) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0534f1a9..ae13b390 100644 --- a/README.md +++ b/README.md @@ -539,6 +539,11 @@ client.Open(new Uri("ws://localhost:3000/")); Websocket Server ```csharp +using System; +using Netly; + +var server = new HttpServer(); + server.OnOpen(() => { // server started. @@ -605,4 +610,4 @@ server.Open(new Uri("http://localhost:8080")); -
\ No newline at end of file +