protected override async Task <HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { var host = _discoveryServiceClient.Resolve(new DiscoverySettings() { AppName = _hostService.GetAppName(request.RequestUri), UId = _cache.Get <UUID>(KnownKeys.SERVICE_DISCOVERY_DISCOVERY_KEY) }); request.RequestUri = _hostService.Build(request.RequestUri, host.Host); return(await base.SendAsync(request, cancellationToken)); }