public static async Task <HtmlDocument> CreateHtmlDocumentAsync(this IRestClient restClient, Uri uri, HttpContent content) { return(HtmlDocumentHelper.CreateNew ( await restClient.PostAsync(uri, content) )); }
public static async Task <HtmlDocument> CreateHtmlDocumentAsync(this IRestClient restClient, Uri uri) { return(HtmlDocumentHelper.CreateNew ( await restClient.GetAsync(uri) )); }