You've already forked cpp-httplib
Added OpenSSL support. #5
This commit is contained in:
@ -12,7 +12,11 @@ using namespace std;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||
httplib::SSLClient cli("localhost", 8080);
|
||||
#else
|
||||
httplib::Client cli("localhost", 8080);
|
||||
#endif
|
||||
|
||||
auto res = cli.get("/hi");
|
||||
if (res) {
|
||||
|
Reference in New Issue
Block a user