An Asynchronous HTTP Request WinINet Wrapper in C++

时间:2015-03-16 23:48:01
【文件属性】:
文件名称:An Asynchronous HTTP Request WinINet Wrapper in C++
文件大小:27KB
文件格式:ZIP
更新时间:2015-03-16 23:48:01
HTTP WinINet makes network programming easier, but it's difficult to use for C++ because of its C-style interface, so I write this code to wrap it. Using it, you can easily create an asynchronous HTTP request and receive event callback. It can be applied to MFC and ATL projects. This code mainly consists of two classes: class FCHttpRequest and class FCHttpRequestManager. Class FCHttpRequest is responsible for implementing send HTTP request and receive response, it's a wrapper class for WinINet. Class FCHttpRequestManager is a management of FCHttpRequest, responsible for add, delete FCHttpRequest object and receive event from FCHttpRequest. Similar to the STL and Boost, all source code consists of .h and .inl file, you can easily integrate it into your program.
【文件预览】:
RealTimeStock.dsw
resource.h
DlgProxy.h
RealTimeStock.odl
RealTimeStock.rc
RealTimeStockDlg.cpp
RealTimeStock.clw
RealTimeStockDlg.h
res
----RealTimeStock.ico(1KB)
----RealTimeStock.rc2(405B)
RealTimeStock.dsp
RealTimeStock.cpp
StdAfx.cpp
DlgProxy.cpp
msxml.tli
RealTimeStock.reg
StdAfx.h
msxml.tlh
RealTimeStock.h

网友评论