public EditorWWWWaitUntil(ITransfluentParameters callParams, Action <WebServiceReturnStatus> callback) { _sw.Start(); _callParams = callParams; _getMyWwwFacade = new WWWFacade(); //string url = _getMyWwwFacade.encodeGETParams(callParams.getParameters); _www = _getMyWwwFacade.request(callParams); _callback = callback; new EditorWaitUntil(() => { return(_www.error != null || _www.isDone); }, internalCallback ); }
public EditorWWWWaitUntil(ITransfluentParameters callParams, Action<WebServiceReturnStatus> callback) { _sw.Start(); _callParams = callParams; _getMyWwwFacade = new WWWFacade(); //string url = _getMyWwwFacade.encodeGETParams(callParams.getParameters); _www = _getMyWwwFacade.request(callParams); _callback = callback; new EditorWaitUntil(() => { return _www.error != null || _www.isDone; }, internalCallback ); }