Example #1
0
 /// <summary>
 /// Set the default options to be used when creating new socket clients
 /// </summary>
 /// <param name="options">The options to use for new clients</param>
 public static void SetDefaultOptions(ThodexSocketClientOptions options)
 {
     defaultOptions = options;
 }
Example #2
0
 /// <summary>
 /// Create a new instance of ThodexSocketClient using provided options
 /// </summary>
 /// <param name="options">The options to use for this client</param>
 public ThodexSocketClient(ThodexSocketClientOptions options) : base("Thodex", options, options.ApiCredentials == null ? null : new ThodexAuthenticationProvider(options.ApiCredentials, ArrayParametersSerialization.Array))
 {
 }