Пример #1
0
 public TransportOptions()
 {
     EnabledTransports       = TransportType.All;
     TransportConnectTimeout = TimeSpan.FromSeconds(5);
     DisconnectTimeout       = TimeSpan.FromSeconds(30);
     WebSockets  = new WebSocketOptions();
     LongPolling = new LongPollingOptions();
 }
 public TransportOptions()
 {
     EnabledTransports = TransportType.All;
     TransportConnectTimeout = TimeSpan.FromSeconds(5);
     DisconnectTimeout = TimeSpan.FromSeconds(30);
     WebSockets = new WebSocketOptions();
     LongPolling = new LongPollingOptions();
 }