Modified a bit for Program.cs

This commit is contained in:
sta 2015-04-16 16:02:48 +09:00
parent e6e93bee12
commit ab5504687c

View File

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