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);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
inline Result ClientImpl::Delete(const std::string &path, const Headers &headers,
|
||||
const Params ¶ms) {
|
||||
inline Result ClientImpl::Delete(const std::string &path,
|
||||
const Headers &headers, const Params ¶ms) {
|
||||
auto query = detail::params_to_query_str(params);
|
||||
return Delete(path, headers, query, "application/x-www-form-urlencoded");
|
||||
}
|
||||
|
||||
inline Result ClientImpl::Delete(const std::string &path, const Headers &headers,
|
||||
const Params ¶ms, Progress progress) {
|
||||
inline Result ClientImpl::Delete(const std::string &path,
|
||||
const Headers &headers, const Params ¶ms,
|
||||
Progress progress) {
|
||||
auto query = detail::params_to_query_str(params);
|
||||
return Delete(path, headers, query, "application/x-www-form-urlencoded",
|
||||
progress);
|
||||
|
Reference in New Issue
Block a user