delete copy constructor of HttpClient
This commit is contained in:
1
http.h
1
http.h
@@ -22,6 +22,7 @@ namespace http {
|
|||||||
public:
|
public:
|
||||||
HttpClient(uv_loop_t *loop);
|
HttpClient(uv_loop_t *loop);
|
||||||
HttpClient(HttpClient&&) = delete;
|
HttpClient(HttpClient&&) = delete;
|
||||||
|
HttpClient(HttpClient&) = delete;
|
||||||
~HttpClient();
|
~HttpClient();
|
||||||
bool send_request(std::string method, std::string url, HttpOptions opts, ResponseCallback cb);
|
bool send_request(std::string method, std::string url, HttpOptions opts, ResponseCallback cb);
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user