Fix for issue #15
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using WebSocketSharp;
|
||||
using WebSocketSharp.Net;
|
||||
using WebSocketSharp.Server;
|
||||
|
||||
namespace Example2 {
|
||||
@@ -13,5 +14,16 @@ namespace Example2 {
|
||||
: e.Data;
|
||||
Send(msg);
|
||||
}
|
||||
|
||||
protected override bool ProcessCookies(CookieCollection request, CookieCollection response)
|
||||
{
|
||||
foreach (Cookie cookie in request)
|
||||
{
|
||||
cookie.Expired = true;
|
||||
response.Add(cookie);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user