Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.

The MFC class CHttpConnection manages your connection to an HTTP server. HTTP is one of three Internet server protocols implemented by the MFC WinInet classes.
The class CHttpConnection contains a constructor and one member function, OpenRequest, that manages connections to a server with an HTTP protocol.
To communicate with an HTTP server, you must first create an instance of CInternetSession, and then create a CHttpConnection object. You never create a CHttpConnection object directly; rather, call CInternetSession::GetHttpConnection, which creates the CHttpConnection object and returns a pointer to it.
To learn more about how CHttpConnection works with the other MFC Internet classes, see the article in Visual C++ Programmer’s Guide. For more information about connecting to servers using the other two supported Internet protocols, gopher and FTP, see the classes CGopherConnection and CFtpConnection.
#include <afxinet.h>
Class Members | Base Class | Hierarchy Chart
See Also CInternetConnection, CHttpFile