MqttBrowserWsConnection.fromConnect constructor
MqttBrowserWsConnection.fromConnect(
- String server,
- int port,
- MqttEventBus eventBus
Initializes a new instance of the MqttConnection class.
Implementation
MqttBrowserWsConnection.fromConnect(
String server,
int port,
MqttEventBus eventBus,
) : super(eventBus) {
connect(server, port);
}