<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.
public string ReasonPhrase { get; protected set; }

Exposes the reason phrase, typically sent along with the status code.

public HttpStatusCode StatusCode { get; protected set; }

Gets or sets the status code of the HTTP response.

public HttpResponseMessageWrapper(HttpResponseMessage httpResponse, string content)

Initializes a new instance of the HttpResponseMessageWrapper class from HttpResponseMessage and content.