Class HttpClientUtils
This class provides helper methods when accessing remote Http endpoints.
Inheritance
System.Object
HttpClientUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.IO
Assembly: Mars.IO.dll
Syntax
public static class HttpClientUtils
Methods
| Improve this Doc View SourceGetResourcesFromHtmlPage(String)
Retrieves all linked resources linked on HTML web page resource given by the
uri
Declaration
public static IEnumerable<string> GetResourcesFromHtmlPage(this string uriPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | uriPath | The http remote resource |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Remarks
This method is useful when accessing and loading remote files, especially for larger set,
where data is separated stored in multiple files.