C# Класс Stumps.HttpPipelineHandler

A class implementing the T:Stumps.Http.IHttpHandler interface that executes multiple child T:Stumps.Http.IHttpHandler instances.
Наследование: IHttpHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный Метод

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.
Результат void

HttpPipelineHandler() публичный Метод

Initializes a new instance of the T:Stumps.HttpPipelineHandler class.
public HttpPipelineHandler ( ) : System
Результат System

ProcessRequest() публичный Метод

Processes an incoming HTTP request.
is null.
public ProcessRequest ( IStumpsHttpContext context ) : Task
context IStumpsHttpContext The representing both the incoming request and the response.
Результат Task

this() публичный Метод

Gets the T:Stumps.Http.IHttpHandler at the specified index.
public this ( int index ) : IHttpHandler
index int The index.
Результат IHttpHandler