Exemplo n.º 1
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope, HttpMessageHandler httpMessageHandler)
 {
     _logger = logger;
     _envelope = envelope;
     _baseUrl = new Uri(baseUrl);
     _httpMessageHandler = httpMessageHandler ?? new HttpClientHandler();
 }
Exemplo n.º 2
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope) : this(baseUrl, logger, envelope, null){}
Exemplo n.º 3
0
 public virtual Task Topic(Envelope envelope, params string[] messages)
 {
     return TaskAsyncHelper.Empty;
 }
Exemplo n.º 4
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope)
 {
     _logger = logger;
     _envelope = envelope;
     _baseUrl = new Uri(baseUrl);
 }
Exemplo n.º 5
0
 public virtual Task Play(Envelope envelope, AdapterArguments adapterArgs, params string[] messages)
 {
     return TaskAsyncHelper.Empty;
 }
Exemplo n.º 6
0
 public HttpWrapper(string baseUrl, ILog logger, Envelope envelope) : this(baseUrl, logger, envelope, null)
 {
 }