File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ class ParseClient {
40
40
private:
41
41
char applicationId[41 ]; // APPLICATION_ID_MAX_LEN
42
42
char clientKey[41 ]; // CLIENT_KEY_MAX_LEN
43
+ char serverURL[100 ]; // SERVER_URL_MAX_LEN
44
+ char hostFingerprint[100 ]; // HOST_FINGERPRINT_MAX_LEN
43
45
char installationId[37 ]; // INSTALLATION_ID_MAX_LEN
44
46
char sessionToken[41 ]; // SESSION_TOKEN_MAX_LEN
45
47
@@ -92,6 +94,25 @@ class ParseClient {
92
94
*
93
95
*/
94
96
void setServerURL (const char *serverURL);
97
+
98
+ /* ! \fn void setHostFingerprint(const char *hostFingerprint)
99
+ * \brief Set the host fingerprint this client.
100
+ *
101
+ * Set the custom host fingerprint for this client. This needs to be called
102
+ * API request.
103
+ *
104
+ * \param hostFingerprint The host fingerprint of the serverURL.
105
+ *
106
+ */
107
+ void setHostFingerprint (const char *hostFingerprint);
108
+
109
+ /* ! \fn setClientInsecure()
110
+ * \brief Sets the connection client to insecure
111
+ *
112
+ *
113
+ *
114
+ */
115
+ void setClientInsecure ();
95
116
96
117
/* ! \fn void setInstallationId(const char *installationId)
97
118
* \brief Set the installation object id for this client.
You can’t perform that action at this time.
0 commit comments