Delen via


HttpHeader Struct

Definition

Represents an HTTP header.

public readonly struct HttpHeader : IEquatable<Azure.Core.HttpHeader>
type HttpHeader = struct
Public Structure HttpHeader
Implements IEquatable(Of HttpHeader)
Inheritance
HttpHeader
Implements

Constructors

HttpHeader(String, String)

Creates a new instance of HttpHeader with provided name and value.

Properties

Name

Gets header name.

Value

Gets header value. If the header has multiple values they would be joined with a comma. To get separate values use TryGetValues(String, IEnumerable<String>) or TryGetValues(String, IEnumerable<String>).

Methods

Equals(HttpHeader)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Applies to