Ejemplo n.º 1
0
        private void doProcessCallback(String strUrl, String strBody)
        {
            String strReply;

            m_httpServer.call_ruby_method(strUrl, strBody, out strReply);

            m_UIWaitEvent.Set();
        }
Ejemplo n.º 2
0
        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));
        }