Class BrokerOptionsBuilderAddMqttExtensions
Adds the AddMqtt method to the IBrokerOptionsBuilder.
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Silverback.Integration.MQTT.dll
Syntax
public static class BrokerOptionsBuilderAddMqttExtensions
Methods
| Improve this doc View sourceAddMqtt(IBrokerOptionsBuilder)
Registers Apache Mqtt as message broker.
Declaration
public static IBrokerOptionsBuilder AddMqtt(this IBrokerOptionsBuilder brokerOptionsBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| IBrokerOptionsBuilder | brokerOptionsBuilder | The IBrokerOptionsBuilder that references the IServiceCollection to add the services to. |
Returns
| Type | Description |
|---|---|
| IBrokerOptionsBuilder | The IBrokerOptionsBuilder so that additional calls can be chained. |