The begin_webui() methods are specific to WebUI WebUI sends JSON objects to the UI to generate configuration page entries. Each object describes a named setting with a type, current value, and a description of the possible values. The possible values can either be a minimum and maximum integer value, min/max string length, or an enumeration list. When the user chooses a value, this command is sent
| 98 | // A => 7 .. 15 (0.0.0.0 .. 255.255.255.255) |
| 99 | // I => 0 .. 2^31-1 |
| 100 | void begin_webui(const std::string name, const char* type, const std::string& val) { begin_webui(name, type, val.c_str()); } |
| 101 | void begin_webui(const std::string name, const char* type, const char* val); |
| 102 | void begin_webui(const std::string name, const char* type, const int32_t val); |
| 103 | void begin_webui(const std::string name, const char* type, const char* val, int32_t min, int32_t max); |