| 1182 | } |
| 1183 | |
| 1184 | const char* SC::HttpClientResponse::getProtocolName(Protocol protocol) |
| 1185 | { |
| 1186 | switch (protocol) |
| 1187 | { |
| 1188 | case Protocol::Unknown: return "unknown"; |
| 1189 | case Protocol::Http11: return "http/1.1"; |
| 1190 | case Protocol::Http2: return "h2"; |
| 1191 | } |
| 1192 | return "unknown"; |
| 1193 | } |
| 1194 | |
| 1195 | SC::Result SC::HttpClient::init() |
| 1196 | { |
no outgoing calls