|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/http_client.hpp>
Static Public Member Functions | |
| static ClientConfig | for_environment (Environment environment) |
Public Attributes | |
| std::string | base_url {rest_base_url(Environment::Production)} |
Base URL including /trade-api/v2. See rest_base_url(). | |
| std::chrono::milliseconds | timeout {std::chrono::seconds{30}} |
| Limit for the whole request, including the response body. | |
| std::chrono::milliseconds | connect_timeout {std::chrono::seconds{10}} |
| bool | verify_ssl {true} |
|
inlinestatic |
| std::string kalshi::ClientConfig::base_url {rest_base_url(Environment::Production)} |
Base URL including /trade-api/v2. See rest_base_url().
| std::chrono::milliseconds kalshi::ClientConfig::timeout {std::chrono::seconds{30}} |
Limit for the whole request, including the response body.
| std::chrono::milliseconds kalshi::ClientConfig::connect_timeout {std::chrono::seconds{10}} |
| bool kalshi::ClientConfig::verify_ssl {true} |