The slowest part of my code are these lines right here:
string responseString;
var webRequest = WebRequest.Create(url);
using (var response = webRequest.GetResponse())
using (var sr = new StreamReader(response.GetResponseStream()))
{
responseString = sr.ReadToEnd();
}
return responseString;
is there a way to "queue up" multiple webRequest and have them download in the background while my code parses the HTML between page requests? Is there a name/method for this I can google? any links or code are much appreciated! thanks!
*edit: full getHTML() code added