diff options
| author | Jesper L. Nielsen <lyager@users.noreply.github.com> | 2023-07-26 15:59:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-26 15:59:57 +0200 |
| commit | 9e0be8467d9e803c5f0dd8da0d41a762502786df (patch) | |
| tree | 563a630daf60352caf1ebfdf81b481a9c8827447 | |
| parent | 7c5728e3b15946dabe2416225eb4372454947c48 (diff) | |
Update 01.md
Spelling
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -55,7 +55,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th | |||
| 55 | * `["REQ", <subscription_id>, <filters JSON>...]`, used to request events and subscribe to new updates. | 55 | * `["REQ", <subscription_id>, <filters JSON>...]`, used to request events and subscribe to new updates. |
| 56 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. | 56 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. |
| 57 | 57 | ||
| 58 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars, that should be used to represent a subscription. Relays should manage `<subscription_id>`s independently for each WebSocket connection; even if `<subscrption_id>`s are the same string, they should be treated as different subscriptions for different connections. | 58 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars, that should be used to represent a subscription. Relays should manage `<subscription_id>`s independently for each WebSocket connection; even if `<subscription_id>`s are the same string, they should be treated as different subscriptions for different connections. |
| 59 | 59 | ||
| 60 | `<filters>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: | 60 | `<filters>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: |
| 61 | 61 | ||