Config constructor
Config({
- num activityTimeout,
- String authEndpoint,
- String authTransport,
- bool enableStats,
- String httpHost,
- String httpPath,
- num httpPort,
- num httpsPort,
- num pongTimeout,
- String statsHost,
- bool useTLS,
- String wsHost,
- String wsPath,
- num wsPort,
- num wssPort,
- bool forceTLS,
- AuthOptions auth,
- AuthorizerGenerator authorizer,
- String cluster,
- List<
String> disabledTransports, - List<
String> enabledTransports, - bool ignoreNullOrigin,
- dynamic timelineParams,
Implementation
external factory Config(
{num activityTimeout,
String authEndpoint,
String /*'ajax'|'jsonp'*/ authTransport,
bool enableStats,
String httpHost,
String httpPath,
num httpPort,
num httpsPort,
num pongTimeout,
String statsHost,
num unavailableTimeout,
bool useTLS,
String wsHost,
String wsPath,
num wsPort,
num wssPort,
bool forceTLS,
AuthOptions auth,
AuthorizerGenerator authorizer,
String cluster,
List<String /*'ws'|'wss'|'xhr_streaming'|'xhr_polling'|'sockjs'*/ >
disabledTransports,
List<String /*'ws'|'wss'|'xhr_streaming'|'xhr_polling'|'sockjs'*/ >
enabledTransports,
bool ignoreNullOrigin,
// nacl nacl,
dynamic timelineParams});