StompServiceOptions.clientOnly constructor
const
StompServiceOptions.clientOnly({})
Creates options with server disabled
Implementation
const StompServiceOptions.clientOnly({
this.timeout = StompConstants.defaultTimeout,
this.enableAutoReconnect = false,
this.reconnectInterval = const Duration(seconds: 5),
this.maxReconnectAttempts = 3,
}) : enableServer = false,
serverName = null;