#include <weHTTP.h>

Public Member Functions | |
| WeHTTP () | |
| Default constructor. | |
| ~WeHTTP () | |
| Destructor. | |
| virtual iweResponse * | Request (iweRequest *req, iweResponse *resp=NULL) |
| Requests. | |
| virtual iweResponse * | Request (string url, iweResponse *resp=NULL) |
| Requests. | |
| virtual iweResponse * | Request (WeURL &url, iweResponse *resp=NULL) |
| Requests. | |
| const CURLMcode & | GetLastError (void) const |
| Gets the CURLMcode - the last cURL operation status. | |
| const CURLMcode | ProcessRequests (void) |
| Process pending requests. | |
| virtual string & | GetName () |
| virtual bool | IsOwnProtocol (string &proto) |
Definition at line 198 of file weHTTP.h.
| WeHTTP::WeHTTP | ( | ) |
Default constructor.
| WeError | if the curl initialization failed |
Definition at line 86 of file weHTTP.cpp.
| WeHTTP::~WeHTTP | ( | ) |
| const CURLMcode& WeHTTP::GetLastError | ( | void | ) | const [inline] |
| virtual string& WeHTTP::GetName | ( | ) | [inline, virtual] |
| virtual bool WeHTTP::IsOwnProtocol | ( | string & | proto | ) | [inline, virtual] |
| const CURLMcode WeHTTP::ProcessRequests | ( | void | ) |
Process pending requests.
Definition at line 229 of file weHTTP.cpp.
| iweResponse * WeHTTP::Request | ( | WeURL & | url, | |
| iweResponse * | resp = NULL | |||
| ) | [virtual] |
Requests.
| url | - The url. | |
| resp | - If non-null, the resp. |
| null | if it fails, pointer to the WeHttpResponse else. |
| WeError | if given URL is malformed and can't be reconstructed from the WeHttpResponse |
Definition at line 216 of file weHTTP.cpp.
| iweResponse * WeHTTP::Request | ( | string | url, | |
| iweResponse * | resp = NULL | |||
| ) | [virtual] |
Requests.
| url | - The url. | |
| resp | - If non-null, the resp. |
| null | if it fails, pointer to the WeHttpResponse else. |
| WeError | if given URL is malformed and can't be reconstructed from the WeHttpResponse |
Implements iweTransport.
Definition at line 188 of file weHTTP.cpp.
| iweResponse * WeHTTP::Request | ( | iweRequest * | req, | |
| iweResponse * | resp = NULL | |||
| ) | [virtual] |
Requests.
| req | - If non-null, the HTTP request. | |
| resp | - If non-null, the HTTP response to store results, else - the new WeHttpResponse will be creaded. |
| null | if it fails, pointer to the WeHttpResponse else. |
Definition at line 130 of file weHTTP.cpp.
![]() |
©2009 Positive Technologies |
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by |
![]() |
1.5.7 |