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

Microsoft.Rest.HttpResponseMessageWrapper

Wrapper around HttpResponseMessage type that copies properties of HttpResponseMessage so that they are available after the HttpClient gets disposed.
namespace Microsoft.Rest { public class HttpResponseMessageWrapper : HttpMessageWrapper { public HttpStatusCode StatusCode { get; set; } public string ReasonPhrase { get; set; } public HttpResponseMessageWrapper(HttpResponseMessage httpResponse, string content); } }