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

Function getProtocolName

Libraries/HttpClient/HttpClient.h:347–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 [[nodiscard]] bool isServerErrorStatus() const { return statusCode >= 500 and statusCode < 600; }
346 [[nodiscard]] bool isErrorStatus() const { return statusCode >= 400; }
347 [[nodiscard]] const char* getProtocolName() const { return getProtocolName(negotiatedProtocol); }
348 [[nodiscard]] static const char* getProtocolName(Protocol protocol);
349};
350

Callers 1

responseHeaderHelpersMethod · 0.85

Calls

no outgoing calls

Tested by 1

responseHeaderHelpersMethod · 0.68