Example #1
0
        public HttpTransport(string name, TimeSpan shortOperationsTimeout, CancellationToken parentToken)
        {
            _linkedTokenSource = CancellationTokenSource.CreateLinkedTokenSource(parentToken);

            _bus    = new HttpTransportBus(name);
            _sender = new HttpTransportSender(name, shortOperationsTimeout, _bus, _linkedTokenSource.Token);
        }
Example #2
0
        public HttpTransport(string name, CancellationToken cancellationToken)
        {
            _cancellationToken = cancellationToken;

            _bus    = new HttpTransportBus(name);
            _sender = new HttpTransportSender(name, _bus, cancellationToken);
        }
Example #3
0
 public HttpTransport(string name)
 {
     _bus    = new HttpTransportBus(name);
     _sender = new HttpTransportSender(name, _bus);
 }
Example #4
0
		public HttpTransport(string name)
		{
			_bus = new HttpTransportBus(name);
			_sender = new HttpTransportSender(name,_bus);
		}