Esempio n. 1
0
 public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
 {
     _rack = new RackDispatcher();
     _rack.Start();
     var async = new RackAsyncDispatcher(cb, context, extraData);
     async.StartAsyncWork(_rack);
     return async;
 }
Esempio n. 2
0
 public void ProcessRequest(HttpContext context) {
     var rack = new RackDispatcher();
     rack.Start();
     rack.Dispatch(context);
     rack.Finish();
 }