|
KiCad PCB EDA Suite
|
Connection parameters for one HTTP library. More...
#include <http_lib_settings.h>
Public Attributes | |
| HTTP_LIB_SOURCE_TYPE | type = HTTP_LIB_SOURCE_TYPE::INVALID |
| std::string | root_url |
| std::string | api_version |
| std::string | token |
| int | timeout_parts = 30 |
| int | timeout_categories = 600 |
Connection parameters for one HTTP library.
HTTP_LIB_CONNECTION copies the whole struct, so every field has to be meaningful even on a source assembled in code rather than loaded from a .kicad_httplib. type stays INVALID until SCH_IO_HTTP_LIB resolves it, and the timeouts mirror the PARAM defaults in HTTP_LIB_SETTINGS so an unloaded source does not cache with a zero interval.
Definition at line 46 of file http_lib_settings.h.
| std::string HTTP_LIB_SOURCE::api_version |
Definition at line 50 of file http_lib_settings.h.
Referenced by BOOST_AUTO_TEST_CASE().
| std::string HTTP_LIB_SOURCE::root_url |
Definition at line 49 of file http_lib_settings.h.
Referenced by BOOST_AUTO_TEST_CASE(), connectToStandardLibrary(), and makeTestSource().
| int HTTP_LIB_SOURCE::timeout_categories = 600 |
Definition at line 53 of file http_lib_settings.h.
Referenced by useFastCacheLifetimes().
| int HTTP_LIB_SOURCE::timeout_parts = 30 |
Definition at line 52 of file http_lib_settings.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and useFastCacheLifetimes().
| std::string HTTP_LIB_SOURCE::token |
Definition at line 51 of file http_lib_settings.h.
Referenced by BOOST_AUTO_TEST_CASE(), and makeDefaultRetriever().
| HTTP_LIB_SOURCE_TYPE HTTP_LIB_SOURCE::type = HTTP_LIB_SOURCE_TYPE::INVALID |
Definition at line 48 of file http_lib_settings.h.
Referenced by makeTestSource().