Module tokio_stomp_2::client[][src]

Functions

connect

Connect to a STOMP server via TCP, including the connection handshake. If successful, returns a tuple of a message stream and a sender, which may be used to receive and send messages respectively.

subscribe

Convenience function to build a Subscribe message