Expand description
AimX Protocol Types and Utilities
This module re-exports protocol types from aimdb-core and adds CLI-specific
utilities for NDJSON serialization and convenience methods.
Structs§
- Error
Object - Error object in response
- Event
- Event message from server (subscription push)
- Event
Message - Event message wrapper from subscription (for NDJSON parsing)
- Hello
Message - Client hello message
- Record
Metadata - Metadata about a registered record type
- Request
- Request message from client
- Welcome
Message - Server welcome message
Enums§
- Response
- Response message from server
Constants§
- CLIENT_
NAME - Client identifier
- PROTOCOL_
VERSION - Protocol version supported by this client
Traits§
- Request
Ext - CLI-specific convenience methods for Request
- Response
Ext - CLI-specific convenience methods for Response
Functions§
- cli_
hello - Create default CLI hello message
- parse_
message - Helper to parse NDJSON line into message
- serialize_
message - Helper to serialize a message as NDJSON line