MqttBrowserWsConnection.fromConnect constructor

MqttBrowserWsConnection.fromConnect(
  1. String server,
  2. int port,
  3. EventBus eventBus
)

Initializes a new instance of the MqttConnection class.

Implementation

MqttBrowserWsConnection.fromConnect(
    String server, int port, events.EventBus eventBus)
    : super(eventBus) {
  connect(server, port);
}