367 B
367 B
tag, type, name
tag | type | name |
---|---|---|
api | constructor | PubSubClient |
Creates an uninitialised client instance.
Before it can be used, it must be configured with the property setters:
EthernetClient ethClient;
PubSubClient client;
void setup() {
client.setClient(ethClient);
client.setServer("broker.example.com",1883);
// client is now configured for use
}