Skip to main content
HttpRequestHeaderCollection.Connection | connection property

Applies to Windows and Windows Phone

Gets the HttpConnectionOptionHeaderValueCollection of HttpConnectionOptionHeaderValue objects that represent the value of a Connection HTTP header on an HTTP request.

Syntax


var connection = httpRequestHeaderCollection.connection;

public HttpConnectionOptionHeaderValueCollection Connection { get; }

Public ReadOnly Property Connection As HttpConnectionOptionHeaderValueCollection

public:
property HttpConnectionOptionHeaderValueCollection^ Connection { 
   HttpConnectionOptionHeaderValueCollection^ get();
}

Property value

Type: HttpConnectionOptionHeaderValueCollection

The collection of HttpConnectionOptionHeaderValue objects that represent the HTTP Connection header. An empty collection means that the header is absent.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpConnectionOptionHeaderValue
HttpConnectionOptionHeaderValueCollection
HttpRequestHeaderCollection