abstract struct PlaceOS::Edge::Protocol::Message::Body
- PlaceOS::Edge::Protocol::Message::Body
- Struct
- Value
- Object
Overview
TODO Refactor Message for better type safety
- Potentially refactor to indivual enums for better case exhaustiveness
- success, error
- request, response
- server, client
- Maybe make a macro that casts a Body based on
Body::Type
- Add a macro for simply defining messages :nodoc:
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Direct Known Subclasses
- PlaceOS::Edge::Protocol::Client::Request
- PlaceOS::Edge::Protocol::Message::ResponseBody
- PlaceOS::Edge::Protocol::Server::Request