Mocker..::..GetHttpHandlerSetup Method

Gets the HTTP handler setup.

Namespace:  FastMoq
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public ISetup<HttpMessageHandler, Task<HttpResponseMessage>> GetHttpHandlerSetup(
	Expression request,
	Expression cancellationToken
)
Public Function GetHttpHandlerSetup ( _
	request As Expression, _
	cancellationToken As Expression _
) As ISetup(Of HttpMessageHandler, Task(Of HttpResponseMessage))
public:
ISetup<HttpMessageHandler^, Task<HttpResponseMessage^>^>^ GetHttpHandlerSetup(
	Expression^ request, 
	Expression^ cancellationToken
)

Parameters

request
Type: Expression
The request.
cancellationToken
Type: Expression
The cancellation token.

Return Value

ISetup<HttpMessageHandler, Task<HttpResponseMessage>>.