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

Microsoft.Rest.HttpRequestMessageWrapper

Wrapper around HttpRequestMessage type that copies properties of HttpRequestMessage so that they are available after the HttpClient gets disposed.
public HttpMethod Method { get; protected set; }

Gets or sets the HTTP method used by the HTTP request message.

public IDictionary<string, object> Properties { get; }

Gets a set of properties for the HTTP request.

public Uri RequestUri { get; protected set; }

Gets or sets the Uri used for the HTTP request.

public HttpRequestMessageWrapper(HttpRequestMessage httpRequest, string content)

Initializes a new instance of the HttpRequestMessageWrapper class from HttpRequestMessage and content.