Base class of requests, responses, and events.

Fields

type:MessageType

Message type. Values: 'request', 'response', 'event', etc.

seq:Int

Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request.