Structs§
- Command
Message - Command
Response - Error
Info - Error
Response - Event
Response - CDP events arrive as
{"method": "Domain.event", "params": {...}}with no outer envelope distinguishing them from commands/errors (unlike BiDi which wraps events in a typed structure).EventResponsecaptures this raw shape so we can route by method name and then deserialize into concrete event types on demand viaTryInto.