MCPcopy Create free account
hub / github.com/bdring/FluidNC / begin_webui

Method begin_webui

FluidNC/src/JSONEncoder.h:100–100  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected