private DispatchResults ( |
||
jsonData | ||
Результат | void |
public void ExecuteMultiRequest(WoopsaClientMultiRequest multiRequest) { if (multiRequest.Count > 0) { multiRequest.Reset(); if (!_disableRemoteMultiRequest) { try { WoopsaValue results = _remoteMethodMultiRequest.Invoke( WoopsaValue.WoopsaJsonData(multiRequest.Requests.Serialize())); multiRequest.DispatchResults(results.JsonData); } catch (WoopsaNotFoundException) { _disableRemoteMultiRequest = true; } } if (_disableRemoteMultiRequest) { ExecuteMultiRequestLocally(multiRequest); } } }
public void ExecuteMultiRequest(WoopsaClientMultiRequest multiRequest) { if (multiRequest.Count > 0) { multiRequest.Reset(); if (!_disableRemoteMultiRequest) try { WoopsaValue results = _remoteMethodMultiRequest.Invoke( WoopsaValue.WoopsaJsonData(multiRequest.Requests.Serialize())); multiRequest.DispatchResults(results.JsonData); } catch (WoopsaNotFoundException) { _disableRemoteMultiRequest = true; } if (_disableRemoteMultiRequest) ExecuteMultiRequestLocally(multiRequest); } }