From 0ba4589550858bb86ed533f90054bfc642aa5350 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 2 Dec 2023 15:05:59 -0300 Subject: [PATCH] remove websocket status code meaning as it is replaced by the CLOSED message. --- 01.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/01.md b/01.md index dafea1d0..681fc99e 100644 --- a/01.md +++ b/01.md @@ -96,10 +96,6 @@ These are just conventions and relay implementations may differ. Relays 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. -### Meaning of WebSocket status codes - -- When a websocket is closed by the relay with a status code `4000` that means the client shouldn't try to connect again. - ### From client to relay: sending events and creating subscriptions Clients can send 3 types of messages, which must be JSON arrays, according to the following patterns: