Skip to content

Commit

Permalink
Merge pull request #684 from lyager/patch-1
Browse files Browse the repository at this point in the history
Update 01.md
  • Loading branch information
alexgleason authored Jul 26, 2023
2 parents 7c5728e + 9e0be84 commit c2907f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
* `["REQ", <subscription_id>, <filters JSON>...]`, used to request events and subscribe to new updates.
* `["CLOSE", <subscription_id>]`, used to stop previous subscriptions.

`<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.
`<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.

`<filters>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes:

Expand Down

0 comments on commit c2907f8

Please sign in to comment.