MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getKeepAlive

Function getKeepAlive

Libraries/Http/HttpConnection.h:133–133  ·  view source on GitHub ↗

@brief Gets whether the other party requested the connection to stay alive

Source from the content-addressed store, hash-verified

131
132 /// @brief Gets whether the other party requested the connection to stay alive
133 [[nodiscard]] bool getKeepAlive() const { return parsedHeaders.parser.connectionKeepAlive; }
134
135 /// @brief Gets the parsed HTTP protocol version token, for example `HTTP/1.1`
136 [[nodiscard]] StringSpan getVersion() const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected