Skip to content

Commit 742c241

Browse files
authored
Update websocket-protocols documentation to reflect implementation (#1508)
1 parent 75f5152 commit 742c241

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/developers/websocket-protocols.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ The Jupyter Server must support the default protocol, in which a kernel message
5353
* - 0
5454
- 4
5555
- 8
56+
- 12
5657
- ...
5758
- offset_0
5859
- offset_1
5960
- offset_2
6061
- ...
61-
* - offset_0
62+
* - offset_number
63+
- offset_0
6264
- offset_1
6365
- offset_2
6466
- ...
@@ -69,6 +71,7 @@ The Jupyter Server must support the default protocol, in which a kernel message
6971

7072
Where:
7173

74+
* ``offset_number`` is the number of the following offsets (is equal to the number of binary buffers plus one).
7275
* ``offset_0`` is the position of the kernel message (``msg``) from the beginning of this message, in bytes.
7376
* ``offset_1`` is the position of the first binary buffer (``buffer_0``) from the beginning of this message, in bytes (optional).
7477
* ``offset_2`` is the position of the second binary buffer (``buffer_1``) from the beginning of this message, in bytes (optional).

0 commit comments

Comments
 (0)