Path: redb-route/redb.Route.MqttNet/MqttMode.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.MqttNet/MqttMode.cs
----
namespace redb.Route.MqttNet;
///
/// MQTT endpoint mode: Subscribe (consumer) or Publish (producer).
///
public enum MqttMode
{
/// Subscribe to one or more topics — used with From().
Subscribe,
/// Publish messages to a topic — used with To().
Publish
}