HttpHeaderV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an HTTP header with a name and value.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class HttpHeaderV1
[<YamlDotNet.Serialization.YamlSerializable>]
type HttpHeaderV1 = class
Public NotInheritable Class HttpHeaderV1
- Inheritance
-
HttpHeaderV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
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.
Constructors
HttpHeaderV1() |
Properties
Name |
Gets or sets the name of the HTTP header. |
Value |
Represents the value associated with the HTTP header. This property holds the string value assigned to the header. |