<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.14.0" />

Microsoft.IdentityModel.Protocols.HttpRequestData

public class HttpRequestData
Structure that represents an incoming or an outgoing http request.
public byte[] Body { get; set; }

Gets or sets the http request body.

Gets the certificate collection involved in authenticating the client against the server.

public IDictionary<string, IEnumerable<string>> Headers { get; set; }

Gets or sets the collection of http request headers.

public string Method { get; set; }

Gets or sets the http request method.

public IDictionary<string, object> PropertyBag { get; set; }

Gets or sets an IDictionary<T, U> that enables custom extensibility scenarios.

public Uri Uri { get; set; }

Gets or sets the http request URI.

public HttpRequestData()

public void AppendHeaders(HttpHeaders headers)

A utility method that appends headers to the Headers.