RateLimitedHttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken) method¶
Defined in
Type: RateLimitedHttpMessageHandler
Namespace: Fusillade.Reactive
Assembly: Fusillade.Reactive.dll
Applies to
net10.0, net9.0, net8.0, net462, net481
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Inherited documentation
These docs were inherited from DelegatingHandler. The member doesn't override them on this type.
Summary: Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.
Parameters
| Name | Type | Description |
|---|---|---|
request | HttpRequestMessage | The HTTP request message to send to the server. |
cancellationToken | CancellationToken | A cancellation token to cancel operation. |
Returns: Task
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | The request was null. |
| System.OperationCanceledException | The cancellation token was canceled. This exception is stored into the returned task. |