Crate tokio_stomp [] [src]

tokio-stomp - A library for asynchronous streaming of STOMP messages

Structs

Message

A representation of a STOMP frame

StompStream

Structure representing a stream of STOMP messages

Enums

ClientMsg

A STOMP message sent by the client. See the Spec for more information

ServerMsg

A STOMP message sent from the server See the Spec for more information

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. If connection fails for any reason, an error is returned.