name |
description |
type |
server |
the address of the server |
IPAddress, uint8_t[] or const char[] |
|
name |
description |
type |
port |
the port to connect to |
int |
|
name |
optional |
description |
type |
callback |
true |
a pointer to a <a href="#callback">message callback function</a> called when a message arrives for a subscription created by this client |
function* |
|
name |
description |
client |
the network client to use, for example <code>WiFiClient</code> |
|
name |
optional |
description |
type |
stream |
true |
a stream to write received messages to |
Stream |
|