diff options
| author | Mariano Pérez Rodríguez <mariano.perez.rodriguez@gmail.com> | 2023-04-13 19:28:57 -0300 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-04-14 09:21:04 -0300 |
| commit | c29812001ae3b14aba1e3a913ce09e7c2fd8736f (patch) | |
| tree | afcdcfb9201c27e178f5be70a0d9d981e6701929 | |
| parent | 6025b6fca0bb7cf7bb334365e92d7ae19f9e1d69 (diff) | |
Tidy message lists
| -rw-r--r-- | README.md | 32 |
1 files changed, 17 insertions, 15 deletions
| @@ -82,23 +82,25 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh | |||
| 82 | ## Message types | 82 | ## Message types |
| 83 | 83 | ||
| 84 | ### Client to Relay | 84 | ### Client to Relay |
| 85 | | type | description | NIP | | 85 | |
| 86 | |-------|-----------------------------------------------------|-------------| | 86 | | type | description | NIP | |
| 87 | | EVENT | used to publish events | [1](01.md) | | 87 | | ------- | --------------------------------------------------- | ----------- | |
| 88 | | REQ | used to request events and subscribe to new updates | [1](01.md) | | 88 | | `AUTH` | used to send authentication events | [42](42.md) | |
| 89 | | CLOSE | used to stop previous subscriptions | [1](01.md) | | 89 | | `CLOSE` | used to stop previous subscriptions | [1](01.md) | |
| 90 | | AUTH | used to send authentication events | [42](42.md) | | 90 | | `COUNT` | used to request event counts | [45](45.md) | |
| 91 | | COUNT | used to request event counts | [45](45.md) | | 91 | | `EVENT` | used to publish events | [1](01.md) | |
| 92 | | `REQ` | used to request events and subscribe to new updates | [1](01.md) | | ||
| 92 | 93 | ||
| 93 | ### Relay to Client | 94 | ### Relay to Client |
| 94 | | type | description | NIP | | 95 | |
| 95 | |--------|---------------------------------------------------------|-------------| | 96 | | type | description | NIP | |
| 96 | | EVENT | used to send events requested to clients | [1](01.md) | | 97 | | -------- | ------------------------------------------------------- | ----------- | |
| 97 | | NOTICE | used to send human-readable messages to clients | [1](01.md) | | 98 | | `AUTH` | used to send authentication challenges | [42](42.md) | |
| 98 | | EOSE | used to notify clients all stored events have been sent | [1](01.md) | | 99 | | `COUNT` | used to send requested event counts to clients | [45](45.md) | |
| 99 | | OK | used to notify clients if an EVENT was successful | [20](20.md) | | 100 | | `EOSE` | used to notify clients all stored events have been sent | [1](01.md) | |
| 100 | | AUTH | used to send authentication challenges | [42](42.md) | | 101 | | `EVENT` | used to send events requested to clients | [1](01.md) | |
| 101 | | COUNT | used to send requested event counts to clients | [45](45.md) | | 102 | | `NOTICE` | used to send human-readable messages to clients | [1](01.md) | |
| 103 | | `OK` | used to notify clients if an EVENT was successful | [20](20.md) | | ||
| 102 | 104 | ||
| 103 | Please update these lists when proposing NIPs introducing new event kinds. | 105 | Please update these lists when proposing NIPs introducing new event kinds. |
| 104 | 106 | ||