Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use boost asio for HTTPS requests

Can I use boost asio for HTTPS requests? I can make GET and POST HTTP requests, but what about HTTPS? How can I handle it? Can somebody provide me a code snippet?

like image 706
FrozenHeart Avatar asked Dec 11 '22 09:12

FrozenHeart


1 Answers

Yes you can. http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/example/ssl/client.cpp Simply integrate it to your HTTP request.

like image 142
deW1 Avatar answered Dec 13 '22 21:12

deW1