ReactOS 0.4.16-dev-814-g656a5dc
|
#include <httpd.h>
Public Member Functions | |
CHttpClient () | |
CHttpClient (LPCServerSocket lpServerSocket) | |
virtual void | OnRead () |
virtual void | OnClose () |
void | SplitUri (const LPSTR lpsUri, LPSTR lpsHost, LPSTR lpsResource, LPSTR lpsParams) |
void | SplitResource (const LPSTR lpsResource, LPSTR lpsPath, LPSTR lpsFilename, LPSTR lpsExtension) |
void | ProcessRequest () |
void | SendFile (const LPSTR lpsFilename) |
void | Report (LPCSTR lpsCode, const LPSTR lpsStr) |
![]() | |
CServerClientSocket () | |
CServerClientSocket (LPCServerSocket lpServerSocket) | |
CServerSocket * | GetServerSocket () |
virtual INT | Transmit (LPCSTR lpsBuffer, UINT nLength) |
virtual INT | Receive (LPSTR lpsBuffer, UINT nLength) |
virtual INT | SendText (LPCSTR lpsText) |
virtual VOID | MessageLoop () |
virtual VOID | OnRead () |
virtual VOID | OnClose () |
![]() | |
CSocket () | |
virtual | ~CSocket () |
virtual SOCKET | GetSocket () |
virtual VOID | SetSocket (SOCKET socket) |
virtual SOCKADDR_IN | GetSockAddrIn () |
virtual VOID | SetSockAddrIn (SOCKADDR_IN sockaddrin) |
virtual VOID | SetEvents (LONG lEvents) |
virtual LONG | GetEvents () |
virtual VOID | SetPort (UINT nPort) |
virtual VOID | Open () |
virtual VOID | Close () |
virtual INT | Transmit (LPCSTR lpsBuffer, UINT nLength) |
virtual INT | Receive (LPSTR lpsBuffer, UINT nLength) |
virtual INT | SendText (LPCSTR lpsStr) |
Public Attributes | |
HANDLE | ThreadHandle |
DWORD | ThreadId |
CHttpParser | Parser |
Private Attributes | |
BOOL | bStop |
LPSTR | lpsBuffer |
LONG | nBufferSize |
unsigned long long | nTotalRead |
unsigned long long | nFileSize |
HANDLE | hFile |
Additional Inherited Members | |
![]() | |
LPCServerSocket | ServerSocket |
![]() | |
SOCKET | Socket |
SOCKADDR_IN | SockAddrIn |
WSAEVENT | Event |
UINT | Port |
BOOL | Active |
CHttpClient::CHttpClient | ( | LPCServerSocket | lpServerSocket | ) |
|
virtual |
Reimplemented from CServerClientSocket.
Definition at line 334 of file httpd.cpp.
|
virtual |
Reimplemented from CServerClientSocket.
Definition at line 289 of file httpd.cpp.
VOID CHttpClient::ProcessRequest | ( | ) |
Definition at line 118 of file httpd.cpp.
Referenced by OnRead().
Definition at line 160 of file httpd.cpp.
Referenced by ProcessRequest().
VOID CHttpClient::SplitResource | ( | const LPSTR | lpsResource, |
LPSTR | lpsPath, | ||
LPSTR | lpsFilename, | ||
LPSTR | lpsExtension | ||
) |
Definition at line 80 of file httpd.cpp.
VOID CHttpClient::SplitUri | ( | const LPSTR | lpsUri, |
LPSTR | lpsHost, | ||
LPSTR | lpsResource, | ||
LPSTR | lpsParams | ||
) |
Definition at line 41 of file httpd.cpp.
Referenced by ProcessRequest().
|
private |
Definition at line 42 of file httpd.h.
Referenced by OnClose(), and SendFile().
|
private |
Definition at line 43 of file httpd.h.
Referenced by SendFile().
|
private |
Definition at line 44 of file httpd.h.
Referenced by SendFile().
Definition at line 48 of file httpd.h.
Referenced by SendFile().
Definition at line 46 of file httpd.h.
Referenced by SendFile().
CHttpParser CHttpClient::Parser |
Definition at line 35 of file httpd.h.
Referenced by OnRead(), and ProcessRequest().