Flags for HTTPRequestInfo_t.reqFlags. These flags control what headers are written or not to the HTTPRequestHeaders_t.pBuffer by HTTPClient_InitializeRequestHeaders. More...
Macros | |
#define | HTTP_REQUEST_KEEP_ALIVE_FLAG 0x1U |
Set this flag to indicate that the request is for a persistent connection. More... | |
Flags for HTTPRequestInfo_t.reqFlags. These flags control what headers are written or not to the HTTPRequestHeaders_t.pBuffer by HTTPClient_InitializeRequestHeaders.
Flags should be bitwise-ORed with each other to change the behavior of HTTPClient_InitializeRequestHeaders.
#define HTTP_REQUEST_KEEP_ALIVE_FLAG 0x1U |
Set this flag to indicate that the request is for a persistent connection.
Setting this will cause a "Connection: Keep-Alive" to be written to the request headers.
This flag is valid only for HTTPRequestInfo_t reqFlags parameter.