static void RunTest_GetPageWithCustomRequestAndSite() { var downloader = new HttpClientDownloader(); var httpClientEntry = downloader.CreateHttpClientEntry(); var request = new Request("http://google.co.kr"); var site = new Site(); var httpMessage = downloader.GenerateHttpRequestMessage(request, site); var result = httpClientEntry.Client.SendAsync(httpMessage).Result; System.Console.WriteLine($"[{result.StatusCode}] {downloader.ReadContent(site, result).Substring(0, 500)}"); }