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;
}