Skip to content
Docs Try Aspire

HttpHeaderV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents an HTTP header with a name and value.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpHeaderV1
{
// ...
}
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.