public IHttpHostConfiguration CreateHostConfiguration(HttpHost host)
        {
            var hostConfiguration = new HttpHostConfiguration(this, host);

            _hosts.Add(hostConfiguration);

            return(hostConfiguration);
        }
Exemple #2
0
        public HttpBusConfiguration(IHttpTopologyConfiguration topologyConfiguration)
            : base(topologyConfiguration)
        {
            HostConfiguration        = new HttpHostConfiguration(this, topologyConfiguration);
            BusEndpointConfiguration = CreateEndpointConfiguration();

            _busObservers = new BusObservable();
        }
Exemple #3
0
        public IHttpHostConfiguration CreateHostConfiguration(HttpHostSettings settings)
        {
            var hostTopology = new HttpHostTopology(_topologyConfiguration);

            var hostConfiguration = new HttpHostConfiguration(this, settings, hostTopology);

            _hosts.Add(hostConfiguration);

            return(hostConfiguration);
        }