@@ -75,7 +75,7 @@ class HttpClient : public Client
75
75
int post (const char * aURLPath);
76
76
int post (const String& aURLPath);
77
77
78
- /* * Connect to the server and start to send a POST request
78
+ /* * Connect to the server and send a POST request
79
79
with body and content type
80
80
@param aURLPath Url to request
81
81
@param aContentType Content type of request body
@@ -93,7 +93,7 @@ class HttpClient : public Client
93
93
int put (const char * aURLPath);
94
94
int put (const String& aURLPath);
95
95
96
- /* * Connect to the server and start to send a PUT request
96
+ /* * Connect to the server and send a PUT request
97
97
with body and content type
98
98
@param aURLPath Url to request
99
99
@param aContentType Content type of request body
@@ -111,7 +111,7 @@ class HttpClient : public Client
111
111
int del (const char * aURLPath);
112
112
int del (const String& aURLPath);
113
113
114
- /* * Connect to the server and start to send a DELETE request
114
+ /* * Connect to the server and send a DELETE request
115
115
with body and content type
116
116
@param aURLPath Url to request
117
117
@param aContentType Content type of request body
@@ -123,6 +123,7 @@ class HttpClient : public Client
123
123
int del (const char * aURLPath, const char * aContentType, int aContentLength, const byte aBody[]);
124
124
125
125
/* * Connect to the server and start to send the request.
126
+ If a body is provided, the entire request (including headers and body) will be sent
126
127
@param aURLPath Url to request
127
128
@param aHttpMethod Type of HTTP request to make, e.g. "GET", "POST", etc.
128
129
@param aContentType Content type of request body (optional)
0 commit comments