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

Method getFeatureName

Libraries/HttpClient/HttpClient.cpp:758–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758const char* SC::HttpClientCapabilities::getFeatureName(Feature feature)
759{
760 switch (feature)
761 {
762 case MultipleOperationsPerClient: return "multiple-operations-per-client";
763 case FixedRequestBody: return "fixed-request-body";
764 case SizedStreamRequestBody: return "sized-stream-request-body";
765 case ChunkedStreamRequestBody: return "chunked-stream-request-body";
766 case RedirectPolicy: return "redirect-policy";
767 case ProtocolHttp11Only: return "protocol-http11-only";
768 case ProtocolHttp2Preferred: return "protocol-http2-preferred";
769 case ProtocolHttp2Required: return "protocol-http2-required";
770 case TlsDisablePeerVerification: return "tls-disable-peer-verification";
771 case TlsCustomCaPath: return "tls-custom-ca-path";
772 case ProxyNoProxy: return "proxy-no-proxy";
773 case ProxyHttp: return "proxy-http";
774 case ProxyAuthorization: return "proxy-authorization";
775 case ProxyBypassList: return "proxy-bypass-list";
776 case ContentCodingPolicy: return "content-coding-policy";
777 }
778 return "unknown";
779}
780
781const char* SC::HttpClientRequestBody::getFramingName(Framing framing)
782{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected