示例#1
0
 public CoinApiWsClient(bool isSandbox = false)
 {
     _isSandbox   = isSandbox;
     _queueThread = new QueueThread <MessageData>();
     _queueThread.ItemDequeuedEvent += _queueThread_ItemDequeuedEvent;
     _url = _isSandbox ? UrlSandbox : UrlProduction;
 }
示例#2
0
 public CoinApiWsClient(string url)
 {
     _queueThread = new QueueThread <MessageData>();
     _queueThread.ItemDequeuedEvent += _queueThread_ItemDequeuedEvent;
     _url = url;
 }