public async Task <bool> SendPosition(string position) { //var httpRpcClient = new HttpRpcClient("/plugins/geoloc/core/api/jeeGeoloc.php?apikey=" + config.ApiKey + "&id=" + config.GeolocObjectId + "&value=" + position); var httpRpcClient = new HttpRpcClient("core/api/jeeApi.php?api=" + config.ApiKey + "&type=geoloc&id=" + config.GeolocObjectId + "&value=" + position); return(await httpRpcClient.SendRequest()); }
public DaemonRpcClient(string hostname, HttpRpcClientOptions?httpRpcClientOptions = null, Action <HttpClient, HttpClientHandler>?implementationAction = null) { _httpRpcClient = new HttpRpcClient(hostname, httpRpcClientOptions, implementationAction); }