public ApiTests() { info = new TtRssLoginInfo(); info.username = "******"; info.password = "******"; info.rootUri = "set-yours"; }
/// <summary> /// Constructor with login parameters /// </summary> /// <param name="loginInfo">an object containing the url of the tt-rss installation and, optionally, username and password pair</param> public Caller(TtRssLoginInfo loginInfo) { this.loginInfo = loginInfo; // needed to avoid getting errors due to bad proxies System.Net.ServicePointManager.Expect100Continue = false; hasSessionId = false; currentRequestNum = 0; }