11#include <OpenMS/config.h>
53 bool has_error_ =
false;
Synchronous HTTP GET request using libcurl.
Definition NetworkGetRequest.h:20
NetworkGetRequest(const NetworkGetRequest &)=delete
const std::vector< char > & getResponseBinary() const
returns the raw response bytes
void run()
execute the GET request (blocks until complete or timeout)
std::string url_
Definition NetworkGetRequest.h:51
void setTimeout(int seconds)
set the timeout in seconds (0 = no timeout)
std::string error_string_
Definition NetworkGetRequest.h:54
std::string getResponse() const
returns the response as a string
std::vector< char > response_bytes_
Definition NetworkGetRequest.h:50
bool hasError() const
returns true if an error occurred during the query
void setUrl(const std::string &url)
set the URL to request
std::string getErrorString() const
returns the error message
NetworkGetRequest & operator=(const NetworkGetRequest &)=delete
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19