+class HTTPClientError : public Request
+{
+ protected:
+ friend class HTTPSocket;
+ std::string url;
+ int response;
+ std::string responsestr;
+ HeaderMap Headers;
+ public:
+ HTTPClientError(Module* src, Module* target, const std::string &url, int response)
+ : Request(src, target, HTTP_CLIENT_ERROR), url(url), response(response)
+ {
+ }
+
+ const std::string &GetURL()
+ {
+ return url;
+ }
+};
+