upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2023-07-26 09:09:41 -0500
committerGitHub <noreply@github.com>2023-07-26 09:09:41 -0500
commitc2907f836db6eac805b20b6736809dc4a2186b2d (patch)
tree563a630daf60352caf1ebfdf81b481a9c8827447
parent7c5728e3b15946dabe2416225eb4372454947c48 (diff)
parent9e0be8467d9e803c5f0dd8da0d41a762502786df (diff)
Merge pull request #684 from lyager/patch-1
Update 01.md
-rw-r--r--01.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index f607ca2..50e9c9c 100644
--- a/01.md
+++ b/01.md
@@ -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