Esempio n. 1
0
 void processRequests()
 {
     try {
         while (true)
         {
             var context = listener.GetContext();
             aspNetHost.BeginProcessRequest(context);
         }
     } catch (HttpListenerException) {
         // the listener is probably being shut down
     }
 }