C# Class Stumps.HttpPipelineHandler

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

HttpPipelineHandler() public méthode

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

ProcessRequest() public méthode

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

this() public méthode

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