|
Public Member Functions |
| | CzzHTTP (const char *host, const char *port, const char *user_agent, unsigned short s_timeout, unsigned short r_timeout) |
| virtual | ~CzzHTTP () |
| void | get (const char *uri, const char *response_file) |
| void | post (const char *uri, const char *query, const char *response_file) |
| void | post (const char *uri, CzzMIMEBody &body, const char *response_file) |
| void | head (const char *uri) |
| void | put (const char *uri, const char *data, unsigned long size) |
| void | del (const char *uri) |
| CzzResponseHeaders & | getResponseHeaders (void) |
| unsigned long | getFileSize (void) |
| long | reply (void) |
Protected Member Functions |
| void | send (void) |
| void | parseReply (unsigned long size) |
| virtual void | writeToFile (long from, long size) |
| void | addRequest (const char *method, const char *uri) |
| void | addHeader (const char *format_header,...) |
| void | addEntityData (const char *data, unsigned long size) |
| void | addEndMarker (void) |
Protected Attributes |
| unsigned long | m_FileSize |
| CzzBuffer * | m_SendBuffer |
| char * | m_ReplyBuffer |
| CzzString | m_Host |
| CzzString | m_LocalHost |
| CzzString | m_Port |
| CzzString | m_UserAgent |
| CzzString | m_ResponseFile |
| CzzSocket * | m_Socket |
| unsigned short | m_SendTimeout |
| unsigned short | m_RecTimeout |
| CzzResponseHeaders | m_ResponseHeaders |