Method ShutdownAsync
ShutdownAsync(CancellationToken)
Gracefully shuts down the client: clears cached state, cancels pending requests, and recreates the owned HttpClient so the instance can be reused later.
public Task ShutdownAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenCancellation token.