예제 #1
0
        private WebForm(WebCallResult result)
        {
            Cookies = result.Cookies;
            _originalUrl = result.RequestUrl.OriginalString;

            _html = new HtmlDocument();
            result.LoadResultTo(_html);

            _responceBaseUrl = result.ResponseUrl.GetLeftPart(UriPartial.Authority);

            _inputs = ParseInputs();
        }
예제 #2
0
 public WebCallResult(string url, Cookies cookies)
 {
     RequestUrl = new Uri(url);
     Cookies = cookies;
     Response = string.Empty;
 }