C# Class Stumps.HttpPipelineHandler

A class implementing the T:Stumps.Http.IHttpHandler interface that executes multiple child T:Stumps.Http.IHttpHandler instances.
Inheritance: IHttpHandler
Mostra file Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
Add ( IHttpHandler handler ) : void

Adds the specified child T:Stumps.Http.IHttpHandler to the end of the pipeline.

HttpPipelineHandler ( ) : System

Initializes a new instance of the T:Stumps.HttpPipelineHandler class.

ProcessRequest ( IStumpsHttpContext context ) : Task

Processes an incoming HTTP request.

this ( int index ) : IHttpHandler

Gets the T:Stumps.Http.IHttpHandler at the specified index.

Method Details

Add() public method

Adds the specified child T:Stumps.Http.IHttpHandler to the end of the pipeline.
public Add ( IHttpHandler handler ) : void
handler IHttpHandler The child to add.
return void

HttpPipelineHandler() public method

Initializes a new instance of the T:Stumps.HttpPipelineHandler class.
public HttpPipelineHandler ( ) : System
return System

ProcessRequest() public method

Processes an incoming HTTP request.
is null.
public ProcessRequest ( IStumpsHttpContext context ) : Task
context IStumpsHttpContext The representing both the incoming request and the response.
return Task

this() public method

Gets the T:Stumps.Http.IHttpHandler at the specified index.
public this ( int index ) : IHttpHandler
index int The index.
return IHttpHandler