upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-12-02 15:05:59 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-12-02 15:05:59 -0300
commit0ba4589550858bb86ed533f90054bfc642aa5350 (patch)
tree5aea6e70808a699bb69f1816ca2607c66a683b12
parent131fcab95c49a828a216145b542e05e9bfbf0381 (diff)
remove websocket status code meaning as it is replaced by the CLOSED message.
-rw-r--r--01.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/01.md b/01.md
index dafea1d..681fc99 100644
--- a/01.md
+++ b/01.md
@@ -96,10 +96,6 @@ These are just conventions and relay implementations may differ.
96 96
97Relays expose a websocket endpoint to which clients can connect. Clients SHOULD open a single websocket connection to each relay and use it for all their subscriptions. Relays MAY limit number of connections from specific IP/client/etc. 97Relays expose a websocket endpoint to which clients can connect. Clients SHOULD open a single websocket connection to each relay and use it for all their subscriptions. Relays MAY limit number of connections from specific IP/client/etc.
98 98
99### Meaning of WebSocket status codes
100
101- When a websocket is closed by the relay with a status code `4000` that means the client shouldn't try to connect again.
102
103### From client to relay: sending events and creating subscriptions 99### From client to relay: sending events and creating subscriptions
104 100
105Clients can send 3 types of messages, which must be JSON arrays, according to the following patterns: 101Clients can send 3 types of messages, which must be JSON arrays, according to the following patterns: