All Classes Namespaces Functions Variables Groups Pages
QC_HTTPClient.dox.h
namespace Qore {
class HTTPClient {
public:
nothing clearProxyURL();
public:
nothing clearProxyUserPassword();
public:
nothing clearUserPassword();
public:
nothing connect();
public:
constructor(hash opts);
public:
constructor();
public:
copy();
public:
destructor();
public:
nothing disconnect();
public:
*string get(string path, *hash headers, *reference info);
public:
int getConnectTimeout();
public:
string getEncoding();
public:
string getHTTPVersion();
public:
int getMaxRedirects();
public:
bool getNoDelay();
public:
hash getPeerInfo();
public:
*string getProxyURL();
public:
*string getSSLCipherName();
public:
*string getSSLCipherVersion();
public:
hash getSocketInfo();
public:
int getTimeout();
public:
string getURL();
public:
hash head(string path, *hash headers, *reference info);
public:
bool isConnected();
public:
bool isProxySecure();
public:
bool isSecure();
public:
*string post(string path, string body, *hash headers, *reference info);
public:
*string post(string path, *binary body, *hash headers, *reference info);
public:
hash send(string body, string method, *string path, *hash headers, softbool getbody = False, *reference info);
public:
hash send(*binary body, string method, string path, *hash headers, softbool getbody = False, *reference info);
public:
nothing setConnectTimeout(timeout timeout_ms = -1);
public:
nothing setEncoding(string encoding);
public:
nothing setEventQueue();
public:
nothing setEventQueue(Qore::Thread::Queue queue);
public:
nothing setHTTPVersion(string ver);
public:
nothing setMaxRedirects(softint mr = 0);
public:
int setNoDelay(softbool b = True);
public:
nothing setProxySecure(softbool b = True);
public:
nothing setProxyURL();
public:
nothing setProxyURL(string url);
public:
nothing setProxyUserPassword(string user, string pass);
public:
nothing setProxyUserPassword();
public:
nothing setSecure(softbool secure = True);
public:
nothing setTimeout(timeout timeout_ms = 0);
public:
setURL(string url);
public:
nothing setUserPassword(string user, string pass);
public:
nothing setUserPassword();
public:
*string verifyPeerCertificate();
};
};