Browse Source

Modified a bit for Program.cs

pull/133/head
sta 10 years ago
parent
commit
ab5504687c
  1. 2
      Example2/Program.cs

2
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.

Loading…
Cancel
Save