private void InitializeRestServices() { var client = new HttpClient(new NativeMessageHandler()) { BaseAddress = new Uri("https://swapi.dev/api") }; _planetsApi = RestService.For <IPlanetsApi>(client); }
private void InitializeRestServices() { var client = new HttpClient(new NativeMessageHandler()) { BaseAddress = new Uri("https://swapi.dev/api") }; _planetsApi = RestService.For <IPlanetsApi>(client); }