oa_gateway_stomp

Module client

Source
Expand description

TCP STOMP session: handshake, framed read/write.

Heartbeats are advertised as 0,0 (none). This crate does not send or expect them. ack:auto means the broker does not wait for ACK.

Structs§

Functions§

  • Opens TCP, optionally negotiates TLS, sends CONNECT, and waits for CONNECTED.
  • DISCONNECT with no receipt. The writer does not wait for a reply.
  • SEND to destination. Extra headers are appended as-is.
  • SUBSCRIBE with ack:auto. The broker will not wait for ACK.

Type Aliases§

  • Stream 🔒
    The socket a STOMP session runs over, TLS or not.