Crate paho_mqtt_testing

Crate paho_mqtt_testing 

Expand description

Test helper crate for paho-mqtt interop testing.

Structs§

BrokerConfig
Builder for the broker’s configuration file.
PahoBroker
A handle to a running Paho MQTT v5 test broker.

Functions§

allocate_port
Bind port 0 to get an OS-assigned free port, then close the listener.
paho_interop_dir 🔒
Locate the interoperability/ directory inside the paho submodule.
probe_mqtt 🔒
Probes the broker by performing a minimal MQTT v5 CONNECT/CONNACK exchange.