Skip to content

Commit bcb8086

Browse files
committed
docs: better setInsecure description
1 parent 324878a commit bcb8086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InfluxDbClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ class InfluxDBClient {
8181
InfluxDBClient(const char *serverUrl, const char *org, const char *bucket, const char *authToken, const char *certInfo);
8282
// Clears instance.
8383
~InfluxDBClient();
84-
// Allows insecure connection. setInsecure must be called before calling any method initiating a connection to server.
85-
// Works only on ESP8266. ESP32 allows unsecured connections by default (status for latest 1.0.4 ESP32 Arduino SDK).
84+
// Allows insecure connection by skiping server certificate validation.
85+
// setInsecure must be called before calling any method initiating a connection to server.
8686
void setInsecure(bool value);
8787
// precision - timestamp precision of written data
8888
// batchSize - number of points that will be written to the databases at once. Default 1 - writes immediately

0 commit comments

Comments
 (0)