Downloads headers for provided URI using HEAD request.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Function GetHeaders ( _
	uri As String _
) As WebHeaderCollection
C#
public WebHeaderCollection GetHeaders(
	string uri
)

Parameters

uri
Type: System..::..String
URI to retrieve headers from.

Return Value

Response headers collection.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also