Fix a typo; now types are EVENT, EOSE and NOTICE

This commit is contained in:
Yoji Shidara 2023-04-11 13:48:58 +09:00
parent 9d1d701285
commit 4b44453626

2
01.md
View File

@ -86,7 +86,7 @@ The `limit` property of a filter is only valid for the initial query and can be
### From relay to client: sending events and notices ### From relay to client: sending events and notices
Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: Relays can send 3 types of messages, which must also be JSON arrays, according to the following patterns:
* `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients.
* `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time. * `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time.