<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.19" />

Microsoft.Rest.HttpMessageWrapper

public abstract class HttpMessageWrapper
Base class used to wrap HTTP requests and responses to preserve data after disposal of HttpClient.
namespace Microsoft.Rest { public abstract class HttpMessageWrapper { public string Content { get; set; } public IDictionary<string, IEnumerable<string>> Headers { get; } protected HttpMessageWrapper(); protected void CopyHeaders(HttpHeaders headers); } }