| 212 | } |
| 213 | |
| 214 | void MacroActionHttp::LogAction() const |
| 215 | { |
| 216 | ablog(LOG_INFO, |
| 217 | "sent HTTP request (%s) " |
| 218 | "to URL \"%s\" " |
| 219 | "with content type \"%s\" " |
| 220 | "with body \"%s\" " |
| 221 | "with headers \"%s\" " |
| 222 | "with parameters \"%s\" " |
| 223 | "with timeout \"%s\"", |
| 224 | methodToString(_method).data(), _url.c_str(), |
| 225 | _contentType.c_str(), _body.c_str(), |
| 226 | _setHeaders ? stringListToString(_headers).c_str() : "-", |
| 227 | _setParams ? stringListToString(_params).c_str() : "-", |
| 228 | _timeout.ToString().c_str()); |
| 229 | } |
| 230 | |
| 231 | bool MacroActionHttp::Save(obs_data_t *obj) const |
| 232 | { |
nothing calls this directly
no test coverage detected