I tried to running the sample code in the chapter Basic Client.
But I encountered a compilation error:
client.cpp:16:13: error: no matching member function for call to 'Get'
16 | res = cli.Get("/search", httplib::Params{{"q", "cpp-httplib"}});
| ~~~~^~~
I did not see the corresponding function in lastest httplib.h, but I found a similar function:
Result Get(const std::string &path, const Params ¶ms, const Headers &headers, DownloadProgress progress = nullptr);
It seems like the documentation and the code are not consistent.
I tried to running the sample code in the chapter Basic Client.
But I encountered a compilation error:
I did not see the corresponding function in lastest
httplib.h, but I found a similar function:It seems like the documentation and the code are not consistent.