共用方式為


CHttpFile Class

Provides the functionality to request and read files on an HTTP server.

class CHttpFile : public CInternetFile

Remarks

If your Internet session reads data from an HTTP server, you must create an instance of CHttpFile.

To learn more about how CHttpFile works with the other MFC Internet classes, see the article Internet Programming with WinInet.

Requirements

Header: afxinet.h

See Also

Reference

CInternetFile Class

Hierarchy Chart

CInternetFile Class

CGopherFile Class

CHttpConnection Class

Other Resources

CHttpFile Members