public static object SendRequestReturnResult(WebSocketClient handler, WebSocketRequest request)
 {
     var syncRequest = new WebSocketSyncRequest(request);
     WebSocketNotificationHandler.InitWaitEvent(syncRequest);
     object result = null;
     if (handler.SendRequest(request))
     {
         result = WebSocketNotificationHandler.WaitResponse(syncRequest);
     }
     return result;
 }