#include <http_client.hpp>
◆ HttpClient() [1/3]
longport::HttpClient::HttpClient |
( |
| ) |
|
◆ HttpClient() [2/3]
◆ ~HttpClient()
longport::HttpClient::~HttpClient |
( |
| ) |
|
◆ HttpClient() [3/3]
longport::HttpClient::HttpClient |
( |
const std::string & |
http_url, |
|
|
const std::string & |
app_key, |
|
|
const std::string & |
app_secret, |
|
|
const std::string & |
access_token |
|
) |
| |
HttpClient
- Parameters
-
http_url | HTTP endpoint url |
app_key | App key |
app_secret | App secret |
access_token | Access token |
◆ from_env()
Status longport::HttpClient::from_env |
( |
| ) |
|
◆ request()
void longport::HttpClient::request |
( |
const std::string & |
method, |
|
|
const std::string & |
path, |
|
|
const std::optional< std::map< std::string, std::string >> & |
headers, |
|
|
const std::optional< std::string > & |
body, |
|
|
AsyncCallback< void *, HttpResult > |
callback |
|
) |
| |
The documentation for this class was generated from the following file: