public KestrelHttpHostContext(IHttpHostConfiguration configuration, CancellationToken cancellationToken) : base(new PayloadCache(), cancellationToken) { _configuration = configuration; _endpoints = new SortedDictionary <string, List <Endpoint> >(StringComparer.OrdinalIgnoreCase); }
public HttpHost(IHttpHostConfiguration hostConfiguration) : base(hostConfiguration) { _hostConfiguration = hostConfiguration; _httpHostContextSupervisor = new HttpHostContextSupervisor(hostConfiguration); }
public HttpBusConfiguration(IHttpTopologyConfiguration topologyConfiguration) : base(topologyConfiguration) { _hostConfiguration = new HttpHostConfiguration(this, topologyConfiguration); _busEndpointConfiguration = CreateEndpointConfiguration(); _busObservers = new BusObservable(); }
public HttpHost(IHttpHostConfiguration hostConfiguration, IHostTopology hostTopology) : base(hostConfiguration, hostTopology) { _hostConfiguration = hostConfiguration; _hostTopology = hostTopology; _httpHostContextSupervisor = new HttpHostContextSupervisor(hostConfiguration); }
public HttpHost(IHttpHostConfiguration configuration) { _configuration = configuration; _receiveEndpoints = new ReceiveEndpointCollection(); Add(_receiveEndpoints); _httpHostContextSupervisor = new HttpHostContextSupervisor(configuration); }
public HttpReceiveEndpointConfiguration(IHttpHostConfiguration hostConfiguration, string pathMatch, IHttpEndpointConfiguration endpointConfiguration) : base(hostConfiguration, endpointConfiguration) { _hostConfiguration = hostConfiguration; _pathMatch = pathMatch; _endpointConfiguration = endpointConfiguration; HostAddress = hostConfiguration.HostAddress; InputAddress = new Uri(hostConfiguration.HostAddress, $"{pathMatch}"); _httpHostPipeConfigurator = new PipeConfigurator <HttpHostContext>(); }
public HttpHostContextFactory(IHttpHostConfiguration configuration) { _configuration = configuration; }
public HttpBusFactoryConfigurator(IHttpBusConfiguration busConfiguration) : base(busConfiguration) { _busConfiguration = busConfiguration; _hostConfiguration = busConfiguration.HostConfiguration; }
public HttpHostContextSupervisor(IHttpHostConfiguration configuration) : base(new HttpHostContextFactory(configuration)) { }
public bool TryGetHost(IHttpHost host, out IHttpHostConfiguration hostConfiguration) { return(_hosts.TryGetHost(host, out hostConfiguration)); }
public bool TryGetHost(Uri address, out IHttpHostConfiguration host) { return(_hosts.TryGetHost(address, out host)); }