mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fixed example build errors
This commit is contained in:
parent
e0e5898601
commit
cf084e1db1
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue