Refit.IStreamingContentSerializer
An optional capability for an IHttpContentSerializer that can deserialize a response body
incrementally into an IAsyncEnumerable<T>. Refit uses this for interface methods that return
IAsyncEnumerable<T>, reading items as they arrive instead of buffering the whole response.
IAsyncEnumerable<T> DeserializeStreamAsync<T>(Stream stream, StreamingContentFormat format, CancellationToken cancellationToken = default)
Deserializes a response stream into a sequence of T values.