Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 1fe5de9

Browse files
committed
Let servers indicate the protocol version.
1 parent cbc18c9 commit 1fe5de9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

api-websockets.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ For example, in JavaScript, this could be done as follows:
5050
const socket = new WebSocket('wss://example.org', ['solid-ws-draft/v0.1.0-alpha']);
5151
```
5252

53+
Upon connection,
54+
the server SHOULD indicate the protocol version as follows:
55+
56+
```
57+
protocol solid-ws-draft/v0.1.0-alpha
58+
warning Unstandardized protocol version, proceed with care
59+
```
60+
5361
### Subscription
5462
Then, the client needs to *sub*(scribe) to a given resource URI.
5563
If any change occurs in that resource,

0 commit comments

Comments
 (0)