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
|
@ -11,7 +11,7 @@
|
|||
using namespace std;
|
||||
|
||||
int main(void) {
|
||||
httplib::Client2("http://localhost:1234")
|
||||
httplib::Client("http://localhost:1234")
|
||||
.Get("/event1", [&](const char *data, size_t data_length) {
|
||||
std::cout << string(data, data_length);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue