home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CHttpConnection

CObject
   |
   +--CInternetConnection
         |
         +--CHttpConnection

   in AFXINET.H

class CHttpConnection
extends CInternetConnection


Field Summary
protected CString m_strServerName
          
protected static const LPCTSTR[] szHtmlVerbs
          
   
Fields inherited from class CInternetConnection
m_hConnection, m_dwContext, m_pSession, m_strServerName, m_nPort
   
Fields inherited from class CObject
classCObject
 
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 )
          
   
Methods inherited from class CInternetConnection
HINTERNET, GetContext, GetSession, GetServerName, QueryOption, QueryOption, QueryOption, SetOption, SetOption, Close
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_strServerName

protected CString m_strServerName;

szHtmlVerbs

protected static const LPCTSTR szHtmlVerbs[];


Constructor Detail

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();


Method Detail

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 );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD