Click or drag to resize

DefaultHttpRequestHandlersGenericHttpMessageHandler Method

Generic handler for basic http requests, If Handler is not set, this handler will be used to process the incoming HTTP Message.

Namespace:  Hummingbird.TestFramework.Services
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static GenericHttpResponse GenericHttpMessageHandler(
	HttpListenerRequest Request,
	HttpResponseMetadata metadata,
	bool isSecured,
	out Message relatedMessage
)

Parameters

Request
Type: System.NetHttpListenerRequest
The original Http Request hold in an object of type HttpListenerRequestrequest.
metadata
Type: Hummingbird.TestFramework.ServicesHttpResponseMetadata
The service metadata of type HttpResponseMetadata
isSecured
Type: SystemBoolean
, if this request is secured by HTTPS, otherwise,
relatedMessage
Type: Hummingbird.TestFramework.MessagingMessage
The related message object. You must create an object using current condition. This message will be logged and seen by the users.

Return Value

Type: GenericHttpResponse
An GenericHttpResponse object representing the response of the given request.
See Also