Skip to content

Commit 9f00784

Browse files
committed
Move new API definitions down a bit in header
1 parent 8012c8d commit 9f00784

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

HttpClient.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ class HttpClient : public Client
4848
HttpClient(Client& aClient, const String& aServerName, uint16_t aServerPort = kHttpPort);
4949
HttpClient(Client& aClient, const IPAddress& aServerAddress, uint16_t aServerPort = kHttpPort);
5050

51-
/** Enables connection keep-alive mode
52-
*/
53-
void connectionKeepAlive();
54-
55-
/** Disables sending the default request headers (Host and User Agent)
56-
*/
57-
void noDefaultRequestHeaders();
58-
5951
/** Start a more complex request.
6052
Use this when you need to send additional headers in the request,
6153
but you will also need to call endRequest() when you are finished.
@@ -215,6 +207,14 @@ class HttpClient : public Client
215207
*/
216208
int contentLength();
217209

210+
/** Enables connection keep-alive mode
211+
*/
212+
void connectionKeepAlive();
213+
214+
/** Disables sending the default request headers (Host and User Agent)
215+
*/
216+
void noDefaultRequestHeaders();
217+
218218
// Inherited from Print
219219
// Note: 1st call to these indicates the user is sending the body, so if need
220220
// Note: be we should finish the header first

0 commit comments

Comments
 (0)