Flags for HTTPResponse_t.respFlags. These flags are populated in HTTPResponse_t.respFlags by the HTTPClient_Send function. More...
Macros | |
#define | HTTP_RESPONSE_CONNECTION_CLOSE_FLAG 0x1U |
This will be set to true if header "Connection: close" is found. | |
#define | HTTP_RESPONSE_CONNECTION_KEEP_ALIVE_FLAG 0x2U |
This will be set to true if header "Connection: Keep-Alive" is found. | |
Flags for HTTPResponse_t.respFlags. These flags are populated in HTTPResponse_t.respFlags by the HTTPClient_Send function.
A flag's value can be extracted from HTTPResponse_t.respFlags with a bitwise-AND.
#define HTTP_RESPONSE_CONNECTION_CLOSE_FLAG 0x1U |
This will be set to true if header "Connection: close" is found.
If a "Connection: close" header is present the application should always close the connection.
This flag is valid only for HTTPResponse_t.respFlags.
#define HTTP_RESPONSE_CONNECTION_KEEP_ALIVE_FLAG 0x2U |
This will be set to true if header "Connection: Keep-Alive" is found.
This flag is valid only for HTTPResponse_t.respFlags.