Skip to content
Developer Preview

Notification

A notification frame, either direction. No id; a notification is never answered.

  • emittedAtMs
  • jsonrpc
  • method
  • params
Source

schema/msp/experimental/msp.schema.json#/types/Notification

{
"description": "A notification frame, either direction. No `id`; a\nnotification is never answered.",
"properties": {
"emittedAtMs": {
"description": "Emission time in Unix milliseconds, recorded once at emission;\nserver→client notifications only. Optional on the wire so\ndecoders tolerate older servers.",
"type": "integer"
},
"jsonrpc": {
"$ref": "#/$defs/JsonRpcVersion",
"description": "The literal `\"2.0\"`."
},
"method": {
"description": "Notification method name.",
"type": "string"
},
"params": {
"description": "Method-specific parameters; omitted entirely when empty.",
"properties": {},
"type": "object"
}
},
"required": [
"jsonrpc",
"method"
],
"type": "object"
}