private async Task <T> CallGetRabbitMqApi <T>(BrokerConfiguration cfg, string call) where T : class { return(await HTTPCall(cfg, async() => await _httpConnector.Get <T>(call))); }
public async Task <IEnumerable <Character> > GetAllCharacters(CancellationToken token) { var response = await _connector.Get <RickAndMortyResponse <Character> >(_charectersEndpoint, token); return(response.Results); }