wnetwrap:Wininet包装器-简单的https库

时间:2021-03-31 00:20:18
【文件属性】:
文件名称:wnetwrap:Wininet包装器-简单的https库
文件大小:6KB
文件格式:ZIP
更新时间:2021-03-31 00:20:18
ssl http https requests get wnetwrap 一个小型库,可帮助使用WinInet在C ++中发出简单的HTTP(S)请求。 #基本HTTP GET请求 #include #include "wnetwrap.h" using namespace wrap; using namespace std; int main() { req my_request; //GET method and firefox user agent used by default resp my_response = HttpsRequest("https://www.example.com/", my_request); cout << my_response.text << endl; //very basic html parser } 这会将GET请求发送到指定的URL并进行一些基本的解析以显示网
【文件预览】:
wnetwrap-main
----LICENSE(1KB)
----wnetwrap.cpp(10KB)
----README.md(797B)
----wnetwrap.h(3KB)

网友评论