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(); }
public WebCallResult(string url, Cookies cookies) { RequestUrl = new Uri(url); Cookies = cookies; Response = string.Empty; }