FayeClient constructor
FayeClient(})
Implementation
FayeClient(
this.baseUrl, {
this.protocols,
this.retry = 5,
this.webSocketChannelProvider,
Level logLevel = Level.ALL,
LogHandlerFunction? logHandlerFunction,
}) : _logger = Logger.detached('🕒')..level = logLevel {
_logger.onRecord.listen(logHandlerFunction ?? _defaultLogHandler);
}