Renamed the WebSocketService class to the WebSocketBehavior class
This commit is contained in:
@@ -5,7 +5,7 @@ using WebSocketSharp.Server;
|
||||
|
||||
namespace Example3
|
||||
{
|
||||
public class Chat : WebSocketService
|
||||
public class Chat : WebSocketBehavior
|
||||
{
|
||||
private static int _num = 0;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ using WebSocketSharp.Server;
|
||||
|
||||
namespace Example3
|
||||
{
|
||||
public class Echo : WebSocketService
|
||||
public class Echo : WebSocketBehavior
|
||||
{
|
||||
protected override void OnMessage (MessageEventArgs e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user