delete copy constructor of HttpClient
This commit is contained in:
parent
b0148b64e4
commit
637f082605
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user