From e6e93bee12ee455d68d2cb0bb6b46c0b1f6807ae Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 16 Apr 2015 14:40:19 +0900 Subject: [PATCH] Modified a bit for Program.cs --- Example3/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Example3/Program.cs b/Example3/Program.cs index 5edf734c..e2b534d7 100644 --- a/Example3/Program.cs +++ b/Example3/Program.cs @@ -86,6 +86,8 @@ namespace Example3 "/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.