diff options
Diffstat (limited to 'deps/cpp-httplib/example/ssecli.cc')
-rw-r--r-- | deps/cpp-httplib/example/ssecli.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/deps/cpp-httplib/example/ssecli.cc b/deps/cpp-httplib/example/ssecli.cc deleted file mode 100644 index 2c93822..0000000 --- a/deps/cpp-httplib/example/ssecli.cc +++ /dev/null @@ -1,21 +0,0 @@ -// -// ssecli.cc -// -// Copyright (c) 2019 Yuji Hirose. All rights reserved. -// MIT License -// - -#include <httplib.h> -#include <iostream> - -using namespace std; - -int main(void) { - httplib::Client("http://localhost:1234") - .Get("/event1", [&](const char *data, size_t data_length) { - std::cout << string(data, data_length); - return true; - }); - - return 0; -} |