//The ping method, the server should respond by invoking "pong" on //the callback data public async Task <dynamic> Ping() { RequestHelper request = new RequestHelper(_password, _host); return(await request.MakeRequestAsync("ping")); }
// Update executable file of the parser to the latest version, after sending the command. public async Task <dynamic> Update(string parser) { RequestHelper request = new RequestHelper(_password, _host); return(await request.MakeRequestAsync("update")); }
//Getting the number of active accounts (for Yandex). public async Task <dynamic> GetAccountsCount(string parser) { RequestHelper request = new RequestHelper(_password, _host); return(await request.MakeRequestAsync("getAccountsCount")); }
//Getting a list of live proxies public async Task <dynamic> GetProxies() { RequestHelper request = new RequestHelper(_password, _host); return(await request.MakeRequestAsync("getProxies")); }