HttpConnectionOptionHeaderValue HttpConnectionOptionHeaderValue HttpConnectionOptionHeaderValue HttpConnectionOptionHeaderValue HttpConnectionOptionHeaderValue Class

Definition

Represents connection information used in the Connection HTTP header on an HTTP request.

public : sealed class HttpConnectionOptionHeaderValue : IStringable, IHttpConnectionOptionHeaderValue
struct winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue : IStringable, IHttpConnectionOptionHeaderValue
public sealed class HttpConnectionOptionHeaderValue : IStringable, IHttpConnectionOptionHeaderValue
Public NotInheritable Class HttpConnectionOptionHeaderValue Implements IStringable, IHttpConnectionOptionHeaderValue
var httpConnectionOptionHeaderValue = new httpConnectionOptionHeaderValue(token);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The HttpConnectionOptionHeaderValue class represents connection information used in the Connection HTTP header on an HTTP request.

The Connection property on the HttpRequestHeaderCollection returns an HttpConnectionOptionHeaderValueCollection that contains HttpConnectionOptionHeaderValue objects.

Constructors

HttpConnectionOptionHeaderValue(String) HttpConnectionOptionHeaderValue(String) HttpConnectionOptionHeaderValue(String) HttpConnectionOptionHeaderValue(String) HttpConnectionOptionHeaderValue(String)

Initializes a new instance of the HttpConnectionOptionHeaderValue class.

Properties

Token Token Token Token Token

Gets the value of the connection-token in the Connection HTTP header.

Methods

Parse(String) Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an HttpConnectionOptionHeaderValue instance.

ToString() ToString() ToString() ToString() ToString()

Returns a string that represents the current HttpConnectionOptionHeaderValue object.

TryParse(String, HttpConnectionOptionHeaderValue) TryParse(String, HttpConnectionOptionHeaderValue) TryParse(String, HttpConnectionOptionHeaderValue) TryParse(String, HttpConnectionOptionHeaderValue) TryParse(String, HttpConnectionOptionHeaderValue)

Determines whether a string is valid HttpConnectionOptionHeaderValue information.

See Also