MFC
Class CHttpConnection
CObject
|
+--CInternetConnection
|
+--CHttpConnection
in AFXINET.H
- class CHttpConnection
- extends CInternetConnection
|
Constructor Summary |
CHttpConnection( CInternetSession* pSession, LPCTSTR pstrServer, INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER, LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL, DWORD dwContext = 1 )
|
CHttpConnection( CInternetSession* pSession, LPCTSTR pstrServer, DWORD dwFlags, INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER, LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL, DWORD dwContext = 1 )
|
CHttpConnection( CInternetSession* pSession, HINTERNET hConnected, LPCTSTR pstrServer, DWORD dwContext )
|
~CHttpConnection()
|
|
Method Summary |
virtual void |
Close()
|
CHttpFile* |
OpenRequest( int nVerb, LPCTSTR pstrObjectName, LPCTSTR pstrReferer = NULL, DWORD dwContext = 1, LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL, DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT )
|
CHttpFile* |
OpenRequest( LPCTSTR pstrVerb, LPCTSTR pstrObjectName, LPCTSTR pstrReferer = NULL, DWORD dwContext = 1, LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL, DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT )
|
m_strServerName
protected CString m_strServerName;
szHtmlVerbs
protected static const LPCTSTR szHtmlVerbs[];
CHttpConnection
public CHttpConnection( CInternetSession* pSession, LPCTSTR pstrServer, INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER, LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL, DWORD dwContext = 1 );
CHttpConnection
public CHttpConnection( CInternetSession* pSession, LPCTSTR pstrServer, DWORD dwFlags, INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER, LPCTSTR pstrUserName = NULL, LPCTSTR pstrPassword = NULL, DWORD dwContext = 1 );
CHttpConnection
public CHttpConnection( CInternetSession* pSession, HINTERNET hConnected, LPCTSTR pstrServer, DWORD dwContext );
~CHttpConnection
public ~CHttpConnection();
Close
public virtual void Close();
OpenRequest
public CHttpFile* OpenRequest( int nVerb, LPCTSTR pstrObjectName, LPCTSTR pstrReferer = NULL, DWORD dwContext = 1, LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL, DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT );
OpenRequest
public CHttpFile* OpenRequest( LPCTSTR pstrVerb, LPCTSTR pstrObjectName, LPCTSTR pstrReferer = NULL, DWORD dwContext = 1, LPCTSTR* ppstrAcceptTypes = NULL, LPCTSTR pstrVersion = NULL, DWORD dwFlags = INTERNET_FLAG_EXISTING_CONNECT );