You've already forked cpp-httplib
clang-format
This commit is contained in:
12
httplib.h
12
httplib.h
@ -9182,18 +9182,20 @@ inline Result ClientImpl::Delete(const std::string &path,
|
|||||||
progress);
|
progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Result ClientImpl::Delete(const std::string &path, const Params ¶ms) {
|
inline Result ClientImpl::Delete(const std::string &path,
|
||||||
|
const Params ¶ms) {
|
||||||
return Delete(path, Headers(), params);
|
return Delete(path, Headers(), params);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Result ClientImpl::Delete(const std::string &path, const Headers &headers,
|
inline Result ClientImpl::Delete(const std::string &path,
|
||||||
const Params ¶ms) {
|
const Headers &headers, const Params ¶ms) {
|
||||||
auto query = detail::params_to_query_str(params);
|
auto query = detail::params_to_query_str(params);
|
||||||
return Delete(path, headers, query, "application/x-www-form-urlencoded");
|
return Delete(path, headers, query, "application/x-www-form-urlencoded");
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Result ClientImpl::Delete(const std::string &path, const Headers &headers,
|
inline Result ClientImpl::Delete(const std::string &path,
|
||||||
const Params ¶ms, Progress progress) {
|
const Headers &headers, const Params ¶ms,
|
||||||
|
Progress progress) {
|
||||||
auto query = detail::params_to_query_str(params);
|
auto query = detail::params_to_query_str(params);
|
||||||
return Delete(path, headers, query, "application/x-www-form-urlencoded",
|
return Delete(path, headers, query, "application/x-www-form-urlencoded",
|
||||||
progress);
|
progress);
|
||||||
|
Reference in New Issue
Block a user