File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed
Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Exported variables and functions implemented till now :
1212var Headers map [string ]string // Set headers as a map of key-value pairs, an alternative to calling Header() individually
1313var Cookies map [string ]string // Set cookies as a map of key-value pairs, an alternative to calling Cookie() individually
1414func Get (string ) (string ,error ) // Takes the url as an argument, returns HTML string
15+ func GetWithClient(string, *http.Client) // Takes the url and a custom HTTP client as arguments, returns HTML string
1516func Header(string, string) // Takes key,value pair to set as headers for the HTTP request made in Get()
1617func Cookie(string, string) // Takes key, value pair to set as cookies to be sent with the HTTP request in Get()
1718func HTMLParse(string) Root // Takes the HTML string as an argument, returns a pointer to the DOM constructed
You can’t perform that action at this time.
0 commit comments