private void doProcessCallback(String strUrl, String strBody) { String strReply; m_httpServer.call_ruby_method(strUrl, strBody, out strReply); m_UIWaitEvent.Set(); }
public NetResponse processCallback(String strUrl, String strBody) { // m_webBrowser.Dispatcher.BeginInvoke( () => // { String strReply; m_httpServer.call_ruby_method(strUrl, strBody, out strReply); // m_UIWaitEvent.Set(); // }); // m_UIWaitEvent.Reset(); // m_UIWaitEvent.WaitOne(); return(new NetResponse("", 200)); }