Freigeben über


HttpResponseContentReader Delegate

Definition

Represents a delegate for reading HTTP response content.

public delegate System.Threading.Tasks.Task<object?> HttpResponseContentReader(HttpResponseContentReaderContext context, CancellationToken cancellationToken = default);
type HttpResponseContentReader = delegate of HttpResponseContentReaderContext * CancellationToken -> Task<obj>
Public Delegate Function HttpResponseContentReader(context As HttpResponseContentReaderContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object) 

Parameters

context
HttpResponseContentReaderContext

The context containing HTTP operation details.

cancellationToken
CancellationToken

The cancellation token.

Return Value

The HTTP response content.

Applies to