|
Lens AI Profiler Cpp
|
The HttpUploader class handles uploading files to an HTTP server. More...
#include <http_uploader.h>
Public Member Functions | |
| ~HttpUploader () | |
| Destructor for HttpUploader. More... | |
| HttpUploader (const std::string &conf_path, const std::string &uploader_name) | |
| Constructor for HttpUploader. More... | |
| void | StartUpload () |
| Starts the upload process in a separate thread. | |
| void | StopUpload () |
| Stops the upload process by joining the upload thread. | |
| void | UploadLoop () |
| The main loop for uploading files, executed in a separate thread. More... | |
The HttpUploader class handles uploading files to an HTTP server.
| HttpUploader::~HttpUploader | ( | ) |
Destructor for HttpUploader.
Destructor for HttpUploader. Ensures upload process is stopped.
| HttpUploader::HttpUploader | ( | const std::string & | conf_path, |
| const std::string & | uploader_name | ||
| ) |
Constructor for HttpUploader.
| conf_path | Path to the configuration file. |
| uploader_name | Name of the uploader instance. |
| void HttpUploader::UploadLoop | ( | ) |
The main loop for uploading files, executed in a separate thread.
The main loop for uploading files. This function runs in a separate thread.