/// <summary> /// Create a new instance of BinanceSocketClient using provided options /// </summary> /// <param name="options">The options to use for this client</param> public LiveCoinSocketClient(LiveCoinSocketClientOptions options) : base("LiveCoin", options, options.ApiCredentials == null ? null : new LiveCoinAuthenticationProvider(options.ApiCredentials)) { _baseAddress = options.BaseAddress.TrimEnd('/'); _timeToLive = options.TimeToLive; SocketFactory = new BinarySocketFactory(); ContinueOnQueryResponse = true; }
/// <summary> /// Set the default options to be used when creating new clients /// </summary> /// <param name="options"></param> public static void SetDefaultOptions(LiveCoinSocketClientOptions options) { _defaultOptions = options; }