VES PM data for slicing use case. [Issue-Id: ODUHIGH-384]
[o-du/l2.git] / src / o1 / ves / HttpClient.hpp
index fba7242..9e3b8da 100644 (file)
@@ -47,7 +47,7 @@ class HttpClient
       HttpClient(){}
       ~HttpClient(){}
 
-      HttpClient(string ip, string port, string username, string password);
+      HttpClient(string url, string username=0, string password=0);
       bool send(const char *send_data);
 
    private:
@@ -57,13 +57,11 @@ class HttpClient
       bool sendHttpRequest(struct curl_slist *header, CURL *curl);
       bool setCurlOptions(CURL *curl);
       bool setUserPassword(CURL *curl);
-      bool createUrl(CURL *curl);
 
       //member variable
-      string mServerIp;
-      string mServerPort;
       string mServerUsername;
       string mServerPassword;
+      string mUrl;
 };
 
 #endif