WebClient.GetHeaders Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
GetHeaders(String)
Downloads headers for provided URI using HEAD request.
Declaration
public WebHeaderCollection GetHeaders(string uri)
Parameters
Type | Name | Description |
---|---|---|
String | uri | URI to retrieve headers from. |
Returns
Type | Description |
---|---|
WebHeaderCollection | Response headers collection. |
GetHeaders(Uri)
Downloads headers for provided URI using HEAD request.
Declaration
public WebHeaderCollection GetHeaders(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | URI to retrieve headers from. |
Returns
Type | Description |
---|---|
WebHeaderCollection | Response headers collection. |