Fix due to the added HttpServer
This commit is contained in:
14
Example3/Chat.cs
Normal file
14
Example3/Chat.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using WebSocketSharp;
|
||||
using WebSocketSharp.Server;
|
||||
|
||||
namespace Example3
|
||||
{
|
||||
public class Chat : WebSocketService
|
||||
{
|
||||
protected override void onMessage(object sender, MessageEventArgs e)
|
||||
{
|
||||
Publish(e.Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user