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
)
Public Shared Function GenericHttpMessageHandler (
Request As HttpListenerRequest,
metadata As HttpResponseMetadata,
isSecured As Boolean,
<OutAttribute> ByRef relatedMessage As Message
) As GenericHttpResponse
public:
static GenericHttpResponse^ GenericHttpMessageHandler(
HttpListenerRequest^ Request,
HttpResponseMetadata^ metadata,
bool isSecured,
[OutAttribute] Message^% relatedMessage
)
static member GenericHttpMessageHandler :
Request : HttpListenerRequest *
metadata : HttpResponseMetadata *
isSecured : bool *
relatedMessage : Message byref -> GenericHttpResponse
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:
GenericHttpResponseAn GenericHttpResponse object representing the response of the given request.
See Also