|
Hermes
Simulation Orchestration Platform for Aerospace
|
Public Member Functions | |
| str | to_json (self) |
| bytes | to_bytes (self) |
Static Public Attributes | |
| dict | payload = field(default_factory=dict) |
Message sent from server to client.
Attributes:
type: Message type (schema, event, error, ack)
payload: Message-specific data
| bytes hermes.server.protocol.ServerMessage.to_bytes | ( | self | ) |
Serialize message to bytes for transmission.
| str hermes.server.protocol.ServerMessage.to_json | ( | self | ) |
Serialize message to JSON string.
|
static |