HttpServer.Server.ProcessResult C# (CSharp) Method

ProcessResult() protected method

Process result (check if it should be sent back or not)
protected ProcessResult ( ProcessingResult result, HttpServer.RequestEventArgs e ) : bool
result ProcessingResult
e HttpServer.RequestEventArgs
return bool
        protected virtual bool ProcessResult(ProcessingResult result, RequestEventArgs e)
        {
            if (result == ProcessingResult.Abort)
            {
                e.IsHandled = true;
                return true;
            }

            if (result == ProcessingResult.SendResponse)
            {
                SendResponse(e.Context, e.Request, e.Response);
                e.IsHandled = true;
                return true;
            }

            return false;
        }