stomp_vm library


connect(dynamic address, {int port: 61626, String host, String login, String passcode, List<int> heartbeat, void onConnect(StompClient client, Map<String, String> headers), void onDisconnect(StompClient client), void onError(StompClient client, String message, String detail, Map<String, String> headers), void onFault(StompClient client, dynamic error, dynamic stackTrace)}) Future<StompClient>
Connects a STOMP server, and instantiates a StompClient to represent the connection. [...]