共用方式為


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

Smart Device Developer Notes

The Smart Device version of CHttpFile Class does not support the following methods:

See Also

Concepts

CHttpFile Members

CInternetFile Class

Hierarchy Chart

CInternetFile Class

CGopherFile Class

CHttpConnection Class