HttpResponseContentReader Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.