sprinfall / webcc

Lightweight C++ HTTP client and server library based on Asio for embedding purpose.
GNU Lesser General Public License v3.0
270 stars 61 forks source link

https rest clients/servers #2

Closed happyturtle123 closed 5 years ago

happyturtle123 commented 5 years ago

Hi Just having a look at the code in order to do a GET to a https endpoint would i need to do the following (assuming async).

  1. create http_ssl_async_client.{cc,h} files which point to http_ssl_client.{cc,h}
  2. create rest_async_client.{cc,h} which points to http_ssl_async_client.{cc,h}

Am i on the correct track?

Many thanks!

sprinfall commented 5 years ago

Yes. But I should have done that. Please note that the SSL part is still under development.

sprinfall commented 5 years ago

SSL client has been supported. (NOTE: No async- API provided)