@@ -82,6 +82,17 @@ class ParseClient {
82
82
*/
83
83
void begin (const char *applicationId, const char *clientKey);
84
84
85
+ /* ! \fn void setServerURL(const char *serverURL)
86
+ * \brief Set the installation object id for this client.
87
+ *
88
+ * Set the custom server url for this client. This needs to be called
89
+ * API request.
90
+ *
91
+ * \param serverURL The server URL to which client should connect.
92
+ *
93
+ */
94
+ void setServerURL (const char *serverURL);
95
+
85
96
/* ! \fn void setInstallationId(const char *installationId)
86
97
* \brief Set the installation object id for this client.
87
98
*
@@ -146,7 +157,7 @@ class ParseClient {
146
157
* \brief Directly call REST API in Parse.
147
158
*
148
159
* \param httpVerb - GET/DELETE/PUT/POST
149
- * \param httpPath - the endpoint of REST API e.g. /1/ installations
160
+ * \param httpPath - the endpoint of REST API e.g. /installations
150
161
* \param requestBody - http request body in json format, leave it as "" for DELTE/GET requests
151
162
* \param urlParams - leave it as "" unless to perform a Parse query,
152
163
* use it to specify query condition e.g. where={"KEY1"":VALUE1}&limit=10&keys=KEY1,KEY2
@@ -160,7 +171,7 @@ class ParseClient {
160
171
* \brief Directly call REST API in Parse.
161
172
*
162
173
* \param httpVerb - GET/DELETE/PUT/POST
163
- * \param httpPath - the endpoint of REST API e.g. /1/ installations
174
+ * \param httpPath - the endpoint of REST API e.g. /installations
164
175
* \param requestBody - http request body in json format, leave it as "" for DELTE/GET requests
165
176
* \param urlParams - leave it as "" unless to perform a Parse query,
166
177
* use it to specify query condition e.g. where={"KEY1"":VALUE1}&limit=10&keys=KEY1,KEY2
0 commit comments