/// <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; }
/// <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)) { }