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

Method hasTransferCoding

Libraries/HttpClient/HttpClient.cpp:1170–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170bool SC::HttpClientResponse::hasTransferCoding(HttpClientTransferCoding::Type type) const
1171{
1172 HttpClientTransferCodingIterator iterator;
1173 HttpClientTransferCoding transferCoding;
1174 while (getNextTransferCoding(iterator, transferCoding))
1175 {
1176 if (transferCoding.type == type)
1177 {
1178 return true;
1179 }
1180 }
1181 return false;
1182}
1183
1184const char* SC::HttpClientResponse::getProtocolName(Protocol protocol)
1185{

Callers 1

responseHeaderHelpersMethod · 0.80

Calls

no outgoing calls

Tested by 1

responseHeaderHelpersMethod · 0.64