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

Method hasContentCoding

Libraries/HttpClient/HttpClient.cpp:1156–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156bool SC::HttpClientResponse::hasContentCoding(HttpClientContentCoding::Type type) const
1157{
1158 HttpClientContentCodingIterator iterator;
1159 HttpClientContentCoding contentCoding;
1160 while (getNextContentCoding(iterator, contentCoding))
1161 {
1162 if (contentCoding.type == type)
1163 {
1164 return true;
1165 }
1166 }
1167 return false;
1168}
1169
1170bool SC::HttpClientResponse::hasTransferCoding(HttpClientTransferCoding::Type type) const
1171{

Callers 1

responseHeaderHelpersMethod · 0.80

Calls

no outgoing calls

Tested by 1

responseHeaderHelpersMethod · 0.64