Skip to content

Commit

Permalink
Update xml
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelEstevamReis committed Nov 5, 2023
1 parent 33e704f commit 1c0205c
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 18 deletions.
7 changes: 6 additions & 1 deletion Simple.Lib/PageFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,19 @@ static void initialize()
};
client = new HttpClient(handler);
}

/// <summary>
/// Requests a Page
/// </summary>
public static async Task<PageResponse> RequestAsync(HttpRequestMessage request)
{
initialize();

var response = await client.SendAsync(request);
return await PageResponse.BuildAsync(response);
}
/// <summary>
/// Gets a Page
/// </summary>
public static async Task<PageResponse> GetHtmlAsync(string url)
{
initialize();
Expand Down
93 changes: 76 additions & 17 deletions Simple.Lib/Simple.Lib.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c0205c

Please sign in to comment.