mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Install and Remove Patch
Fixed issue where packages would not install or remove correctly.
This commit is contained in:
parent
2b250d9a2d
commit
2fd55de71e
6 changed files with 64 additions and 38 deletions
|
|
@ -11,8 +11,8 @@ namespace gdpm::http{
|
|||
std::unordered_map<std::string, std::string> headers{};
|
||||
};
|
||||
|
||||
response request_get(const std::string& url, size_t timeout = GDPM_CONFIG_TIMEOUT_MS);
|
||||
response request_post(const std::string& url, const char *post_fields="", size_t timeout = GDPM_CONFIG_TIMEOUT_MS);
|
||||
response download_file(const std::string& url, const std::string& storage_path, size_t timeout = GDPM_CONFIG_TIMEOUT_MS);
|
||||
response request_get(const std::string& url, size_t timeout = GDPM_CONFIG_TIMEOUT_MS, int verbose = 0);
|
||||
response request_post(const std::string& url, const char *post_fields="", size_t timeout = GDPM_CONFIG_TIMEOUT_MS, int verbose = 0);
|
||||
response download_file(const std::string& url, const std::string& storage_path, size_t timeout = GDPM_CONFIG_TIMEOUT_MS, int verbose = 0);
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue