|
Hermes 0.7.0
Linux game streaming host
|
Declarations for common HTTP. More...
Go to the source code of this file.
Functions | |
| int | http::init () |
| int | http::create_creds (const std::string &pkey, const std::string &cert) |
| int | http::save_user_creds (const std::string &file, const std::string &username, const std::string &password, bool run_our_mouth) |
| int | http::reload_user_creds (const std::string &file) |
| bool | http::user_creds_exist (const std::string &file) |
| bool | http::download_file (const std::string &url, const std::string &file, long ssl_version) |
| std::string | http::url_escape (const std::string &url) |
| std::string | http::url_get_host (const std::string &url) |
Declarations for common HTTP.
Definition in file httpcommon.h.
| int http::create_creds | ( | const std::string & | pkey, |
| const std::string & | cert ) |
Definition at line 148 of file httpcommon.cpp.
| bool http::download_file | ( | const std::string & | url, |
| const std::string & | file, | ||
| long | ssl_version ) |
Definition at line 199 of file httpcommon.cpp.
| int http::init | ( | ) |
Definition at line 47 of file httpcommon.cpp.
| int http::reload_user_creds | ( | const std::string & | file | ) |
Definition at line 134 of file httpcommon.cpp.
| int http::save_user_creds | ( | const std::string & | file, |
| const std::string & | username, | ||
| const std::string & | password, | ||
| bool | run_our_mouth ) |
Definition at line 71 of file httpcommon.cpp.
| std::string http::url_escape | ( | const std::string & | url | ) |
Definition at line 234 of file httpcommon.cpp.
| std::string http::url_get_host | ( | const std::string & | url | ) |
Definition at line 241 of file httpcommon.cpp.
| bool http::user_creds_exist | ( | const std::string & | file | ) |
Definition at line 116 of file httpcommon.cpp.