public void UnregMessageEvent(WebSocketMessageEventHandler handler) { OnMessage -= handler; }
public void RegMessageEvent(WebSocketMessageEventHandler handler) { OnMessage += handler; }