From f12a797fb3184e6672404710d16ef86c6ddfc341 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Fri, 17 Jun 2016 15:20:16 -0400 Subject: [PATCH] Add connectionKeepAlive to keywords.txt and add comment for it --- HttpClient.h | 2 ++ keywords.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/HttpClient.h b/HttpClient.h index 0066bbc..e03b3ed 100644 --- a/HttpClient.h +++ b/HttpClient.h @@ -48,6 +48,8 @@ public: HttpClient(Client& aClient, const String& aServerName, uint16_t aServerPort = kHttpPort); HttpClient(Client& aClient, const IPAddress& aServerAddress, uint16_t aServerPort = kHttpPort); + /** Enables connection keep-alive mode + */ void connectionKeepAlive(); /** Start a more complex request. diff --git a/keywords.txt b/keywords.txt index 66489d6..16c8a2d 100644 --- a/keywords.txt +++ b/keywords.txt @@ -28,6 +28,7 @@ endOfHeadersReached KEYWORD2 endOfBodyReached KEYWORD2 completed KEYWORD2 contentLength KEYWORD2 +connectionKeepAlive KEYWORD2 headerAvailable KEYWORD2 readHeaderName KEYWORD2 readHeaderValue KEYWORD2