/// <summary> /// Send the response. /// </summary> public virtual void RunTask() { try { Handler.HandleRequest(Context); } catch (Exception ex) { Session.UserSession.Current.Console.Add("WEB ERROR: " + ex.Message, "KernelWebHost.RequestTask"); } finally { Context.Finish(); } }
/// <summary> /// Ends the connecftion. /// </summary> public void Close() { Flush(); Context.Finish(); }