mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
remove websocket status code meaning as it is replaced by the CLOSED message.
This commit is contained in:
parent
131fcab95c
commit
0ba4589550
4
01.md
4
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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user