|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Lightweight base class for every generated ESPHome API message. More...
#include <esphome/api/proto/wire.hpp>#include <cstddef>#include <cstdint>#include <cstring>#include <memory>#include <string>

Go to the source code of this file.
Classes | |
| class | esphome::api::ProtoMessage |
| Base class every generated message derives from. More... | |
| class | esphome::api::InfoResponseBase |
Intermediate base for ListEntities*Response messages (proto (base_class) = "InfoResponseProtoMessage"). More... | |
| class | esphome::api::StateResponseBase |
Intermediate base for *StateResponse messages (proto (base_class) = "StateResponseProtoMessage"). More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::api |
Lightweight base class for every generated ESPHome API message.
Generated message classes (see the build-time protogen output api_messages.hpp) derive from ProtoMessage and implement the wire primitives. The convenience wrappers (ByteSizeLong, SerializeToArray, ParseFromArray, SerializeAsString) expose protobuf-style method names for the call sites in connection.cpp / loopback_server.hpp.