addMosquitto
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addMosquitto( name: string, port?: number): MosquittoServerResource;}Signature
method
addMosquittobuilderAdds a Mosquitto container resource to the application. Mosquitto is an open source MQTT message broker, so the resource can be referenced by any MQTT client integration.
addMosquitto( name: string, port?: number): MosquittoServerResourceParameters
namestringportnumberoptionalReturns
MosquittoServerResourceApplies to
This method applies to the following types: