Beispiel #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);
        }
Beispiel #2
0
        public HttpTransport(string name, CancellationToken cancellationToken)
        {
            _cancellationToken = cancellationToken;

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