C# Class Stumps.StumpsHandler

A class implementing the T:Stumps.Http.IHttpHandler interface that processes HTTP requests against a list of Stumps.
Inheritance: IHttpHandler
Mostrar archivo Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
ProcessRequest ( IStumpsHttpContext context ) : Task

Processes an incoming HTTP request.

StumpsHandler ( IStumpsManager stumpsManager ) : System

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

Private Methods

Method Description
PopulateResponse ( IStumpsHttpContext incommingHttpContext, Stump stump ) : void

Populates the response of the HTTP context from the Stump.

Method Details

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

StumpsHandler() public method

Initializes a new instance of the T:Stumps.StumpsHandler class.
is null.
public StumpsHandler ( IStumpsManager stumpsManager ) : System
stumpsManager IStumpsManager The stumps manager.
return System