Process Method

HttpServer.dll

Process the incoming request.

Namespace:  HttpServer.Rules
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public override bool Process(
	HttpRequest request,
	HttpResponse response
)
Visual Basic (Declaration)
Public Overrides Function Process ( _
	request As HttpRequest, _
	response As HttpResponse _
) As Boolean
Visual C++
public:
virtual bool Process(
	HttpRequest^ request, 
	HttpResponse^ response
) override

Parameters

request
Type: HttpServer..::.HttpRequest
incoming http request
response
Type: HttpServer..::.HttpResponse
outgoing http response

Return Value

true if response should be sent to the browser directly (no other rules or modules will be processed).

Implements

Rule..::.Process(HttpRequest, HttpResponse)

Remarks

returning true means that no modules will get the request. Returning true is typically being done for redirects.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionIf request or response is null

See Also