C# Class Stumps.FallbackResponseHandler

A class implementing the T:Stumps.Http.IHttpHandler interface that provides a fallback response to an incomming HTTP request.
Inheritance: IHttpHandler
ファイルを表示 Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
FallbackResponseHandler ( FallbackResponse response ) : System

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

ProcessRequest ( IStumpsHttpContext context ) : Task

Processes an incoming HTTP request.

Method Details

FallbackResponseHandler() public method

Initializes a new instance of the T:Stumps.FallbackResponseHandler class.
is null.
public FallbackResponseHandler ( FallbackResponse response ) : System
response FallbackResponse The default response.
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