mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Merge pull request #432 from darashi/nip-01-fix-typo
Fix a typo; now types are EVENT, EOSE and NOTICE
This commit is contained in:
commit
4d8d66d651
2
01.md
2
01.md
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user