mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-15 19:13:39 +00:00
Fixed example build errors
This commit is contained in:
1 parent
e0e5898601
commit
cf084e1db1
3 files changed
+3
-3
No files matched your search
@@ -17,7 +17,7 @@ int main(void) {
|
||||
auto scheme_host_port = "http://localhost:8080";
|
||||
#endif
|
||||
|
||||
auto res = httplib::Client2(scheme_host_port).Get("/hi");
|
||||
auto res = httplib::Client(scheme_host_port).Get("/hi");
|
||||
|
||||
if (res) {
|
||||
cout << res->status << endl;
|
||||
|
||||
Reference in new issue
Block a user