示例#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;
 }