Exemplo n.º 1
0
 /// <summary>
 /// Set the default options to be used when creating new socket clients
 /// </summary>
 /// <param name="options"></param>
 public static void SetDefaultOptions(ChilizSocketClientOptions options)
 {
     defaultOptions = options;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new instance of ChilizSocketClient using provided options
 /// </summary>
 /// <param name="options">The options to use for this client</param>
 public ChilizSocketClient(ChilizSocketClientOptions options) : base("Chiliz", options, options.ApiCredentials == null ? null : new ChilizAuthenticationProvider(options.ApiCredentials, ArrayParametersSerialization.MultipleValues))
 {
 }