HttpRequestOptionsKey<TValue> Struct

Definition

Represents a key in the options collection for an HTTP request.

C#
public readonly struct HttpRequestOptionsKey<TValue>

Type Parameters

TValue

The type of the value of the option.

Inheritance
HttpRequestOptionsKey<TValue>

Constructors

HttpRequestOptionsKey<TValue>(String)

Initializes a new instance of the HttpRequestOptionsKey<TValue> class using the specified key name.

Properties

Key

Gets the name of the option.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9