33 virtual ~CurlHttpClient();
41 bool Connect(
const IO::URI& uri);
45 bool IsConnected()
const;
48 HttpStatus::Code SendRequest(HttpMethod::Code requestMethod,
const IO::URI& uri,
const Ptr<IO::Stream>& responseContentStream);
54 char* curlErrorBuffer;
57 static size_t CurlWriteDataCallback(
char* ptr,
size_t size,
size_t nmemb,
void* userData);
59 static size_t CurlHeaderCallback(
char* ptr,
size_t size,
size_t nmenb,
void* userData);
68 this->userAgent = agent;
75CurlHttpClient::GetUserAgent()
const
77 return this->userAgent;
The common base class of Nebula.
Definition refcounted.h:38
An URI object can split a Uniform Resource Identifier string into its components or build a string fr...
Definition uri.h:67
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Nebula compiler specific defines and configuration.
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15
#define __DeclareClass(type)
Nebula's universal string class.
Definition string.h:50