Table of Contents

Method SendAsync

Namespace
Kepware.Api.Util
Assembly
Kepware.Api.dll

SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request with the specified request message and cancellation token. Ensures that only IPv4 addresses are used for DNS resolution.

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Parameters

request HttpRequestMessage

The HTTP request message to send.

cancellationToken CancellationToken

A cancellation token to cancel the operation.

Returns

Task<HttpResponseMessage>

The HTTP response message.