public HttpSendTransport(IClientContextSupervisor clientContextSupervisor, HttpSendSettings sendSettings, ReceiveEndpointContext topology) { _clientContextSupervisor = clientContextSupervisor; _sendSettings = sendSettings; _topology = topology; _observers = new SendObservable(); }
public HttpSendTransport(ClientCache clientCache, HttpSendSettings sendSettings, IReceiveObserver receiveObserver) { _clientCache = clientCache; _sendSettings = sendSettings; _receiveObserver = receiveObserver; _observers = new SendObservable(); }
public HttpSendTransport(IClientCache clientCache, HttpSendSettings sendSettings, IReceiveObserver receiveObserver, ReceiveEndpointContext topology) { _clientCache = clientCache; _sendSettings = sendSettings; _receiveObserver = receiveObserver; _topology = topology; _observers = new SendObservable(); }
public static Uri GetSendAddress(this HttpHostSettings hostSettings, HttpSendSettings sendSettings) { var builder = new UriBuilder { Scheme = "http", Host = hostSettings.Host, Port = hostSettings.Port, Path = sendSettings.Path }; builder.Query += string.Join("&", GetQueryStringOptions(sendSettings)); return builder.Uri; }
public static Uri GetSendAddress(this HttpHostSettings hostSettings, HttpSendSettings sendSettings) { var builder = new UriBuilder { Scheme = "http", Host = hostSettings.Host, Port = hostSettings.Port, Path = sendSettings.Path }; builder.Query += string.Join("&", GetQueryStringOptions(sendSettings)); return(builder.Uri); }
static IEnumerable<string> GetQueryStringOptions(HttpSendSettings settings) { return Enumerable.Empty<string>(); }
static IEnumerable <string> GetQueryStringOptions(HttpSendSettings settings) { return(Enumerable.Empty <string>()); }