-
Notifications
You must be signed in to change notification settings - Fork 43
Document IPROTO watchers #3044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document IPROTO watchers #3044
Conversation
62901e5
to
93cd850
Compare
|
||
.. _box_protocol-watch: | ||
|
||
IPROTO_WATCH = 0x4a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IPROTO_WATCH
and IPROTO_UNWATCH
should probably be listed in the Requests sub-section, because they are user requests. The description could just contain a reference to the Watchers sub-section, like IPROTO_AUTH
refers to the Authentication sub-section.
# <body> | ||
msgpack({ | ||
IPROTO_EVENT_KEY: :samp:`{{MP_STR string}}}`, | ||
IPROTO_EVENT_DATA: :samp:`{{MP_NIL nil}}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From this description, it looks like the data can only be MP_NIL
, but it can contain any valid MsgPack, not just MP_NIL
.
Written by Kseniia Antonova Proofread by Patience Daur Co-authored-by: Kseniia Antonova <[email protected]> Co-authored-by: Patience Daur <[email protected]>
Fixes #2408
Deploy: