Expose webserver_port to the native API (#2640)

This commit is contained in:
Jesse Hills
2021-11-01 09:33:04 +13:00
committed by GitHub
parent 2b04152482
commit d8b3af3815
6 changed files with 20 additions and 0 deletions
+1
View File
@@ -224,6 +224,7 @@ class DeviceInfoResponse : public ProtoMessage {
bool has_deep_sleep{false};
std::string project_name{};
std::string project_version{};
uint32_t webserver_port{0};
void encode(ProtoWriteBuffer buffer) const override;
#ifdef HAS_PROTO_MESSAGE_DUMP
void dump_to(std::string &out) const override;