2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/noncopyable.hpp" 5 #ifndef ACL_CLIENT_ONLY 18 class HttpServletRequest;
38 #if defined(_WIN32) || defined(_WIN64) 112 #if defined(_WIN32) || defined(_WIN64) 114 __int64 to, __int64 total);
117 long long to,
long long total);
157 const char* domain = NULL,
const char* path = NULL,
165 void encodeUrl(
string& out,
const char* url);
184 bool write(
const void* data,
size_t len);
194 bool write(
const string& buf);
202 bool write(
const xml& body,
const char* charset =
"utf-8");
210 bool write(
const json& body,
const char* charset =
"utf-8");
230 int vformat(
const char*
fmt, va_list ap);
242 bool sendHeader(
void);
249 ostream& getOutputStream(
void)
const;
280 char content_type_[32];
286 #endif // ACL_CLIENT_ONLY http_client * getClient() const
HTTP_API void const char * name
#define ACL_CPP_PRINTF(format_idx, arg_idx)
ACL_API ACL_VSTRING const char * format
ACL_API void const char * fmt