Files
pubsubclient/_posts/2000-01-01-PubSubClient.md
2020-05-21 01:17:42 +01:00

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
}