Skip to content

Commit b680593

Browse files
committed
Clarify what “session” means in the kernel message headers from the client or the kernel.
1 parent 44980c1 commit b680593

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/messaging.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ A message is defined by the following four-dictionary structure::
122122
'buffers': list,
123123
}
124124

125+
.. note::
126+
127+
A client session value, in message headers from a client, should be unique among
128+
all clients connected to a kernel and should be constant over the lifetime of
129+
the client. A kernel session value, in message headers from a kernel, should be
130+
generated on kernel startup or restart and should be constant for the lifetime
131+
of the kernel.
132+
125133
.. versionchanged:: 5.0
126134

127135
``version`` key added to the header.

0 commit comments

Comments
 (0)