Skip to content

DurableIdempotencyKeyHandler.Send(HttpRequestMessage, CancellationToken)

Send(HttpRequestMessage, CancellationToken)

override
View source
protected override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)
Sends an HTTP request to the inner handler to send to the server.

Parameters

requestHttpRequestMessage
The HTTP request message to send to the server.
cancellationTokenCancellationToken
A cancellation token to cancel operation.

Returns

An HTTP response message.

Exceptions

System.OperationCanceledException
The cancellation token was canceled. This exception is stored into the returned task.