Пример #1
0
 protected RxConsumer(IConsumerConfiguration <RxConsumer> configuration)
 {
     interceptors = configuration.Interceptors;
     http         = new RxHttpClient(configuration.Http);
 }
Пример #2
0
 protected RxConsumer(IConsumerContext <RxConsumer> context)
 {
     this.context = context;
     http         = new RxHttpClient(context.Http, context.Logger);
 }