HttpHeaderV1
Class sealed net10.0
Represents an HTTP header with a name and value.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpHeaderV1{ // ...}Remarks
Section titled Remarks This class is used to define HTTP headers, where the 'Name' property specifies the header name, and the 'Value' property specifies the corresponding header value. It is commonly utilized in context with HTTP requests, such as those in Kubernetes probe definitions or other HTTP-based operations.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesNameget; setstring Gets or sets the name of the HTTP header.
Valueget; setstring Represents the value associated with the HTTP header. This property holds the string value assigned to the header.