From ab5504687c5c33eca1cae89b88f864c0ad081c79 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 16 Apr 2015 16:02:48 +0900 Subject: [PATCH] Modified a bit for Program.cs --- Example2/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Example2/Program.cs b/Example2/Program.cs index a6de1e91..12a0106f 100644 --- a/Example2/Program.cs +++ b/Example2/Program.cs @@ -61,6 +61,8 @@ namespace Example2 "/Chat", () => new Chat ("Anon#") { Protocol = "chat", + // To ignore the Sec-WebSocket-Extensions header. + IgnoreExtensions = true, // To validate the Origin header. OriginValidator = val => { // Check the value of the Origin header, and return true if valid.