예제 #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(ParibuSocketClientOptions options)
 {
     defaultOptions = options;
 }
예제 #2
0
 /// <summary>
 /// Create a new instance of ParibuSocketClient using provided options
 /// </summary>
 /// <param name="options">The options to use for this client</param>
 /// <param name="pusherApplicationId">Paribu Pusher Application Id</param>
 public ParibuSocketClient(ParibuSocketClientOptions options, string pusherApplicationId = "a68d528f48f652c94c88") : base("Paribu", options, null)
 {
     PusherApplicationId = pusherApplicationId;
     AddGenericHandler("Welcome", WelcomeHandler);
 }