Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated return object described in README to show HtmlDocument property returning an object of type AngleSharp.Html.Dom.HtmlDocument.
  • Loading branch information
nstevens1040 authored Jun 21, 2023
1 parent a596e54 commit 0d018fb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ string filepath = Environment.GetEnvironmentVariable(@"userprofile") + "\\file.t
The Send method returns and instance of an object with the typename **Execute.RetObject**.
The object contains 5 properties:

| Name | Type | Description |
|--------------------------|----------------------------------------------------|--------------------------------------------------------|
| **CookieCollection** | System.Net.CookieCollection | Cookies returned from HTTP request |
| **HtmlDocument** | System.Object | HTML document parsed via mshtml.HTMLDocumentClass |
| **HttpResponseHeaders** | System.Collections.Specialized.OrderedDictionary | Headers returned from HTTP request |
| **HttpResponseMessage** | System.Net.Http.HttpResponseMessage | Initial object returned from HttpClient.SendAsync() |
| **ResponseText** | System.String | Text body of the HTTP response |
| Name | Type | Description |
|--------------------------|----------------------------------------------------|------------------------------------------------------------|
| **CookieCollection** | System.Net.CookieCollection | Cookies returned from HTTP request |
| **HtmlDocument** | System.Object | HTML document parsed via AngleSharp.Html.Dom.HtmlDocument |
| **HttpResponseHeaders** | System.Collections.Specialized.OrderedDictionary | Headers returned from HTTP request |
| **HttpResponseMessage** | System.Net.Http.HttpResponseMessage | Initial object returned from HttpClient.SendAsync() |
| **ResponseText** | System.String | Text body of the HTTP response |

The advantage of using this library is the ability to take, for example, the CookieCollection object returned from one request and pipe those cookies into the next request.
To illustrate:
Expand Down

0 comments on commit 0d018fb

Please sign in to comment.