-
Notifications
You must be signed in to change notification settings - Fork 766
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
Support custom WAMP message attibutes #1214
Comments
Any thoughts on this? |
This is not exposed in Autobahn currently.
|
I'm using a fork of https://github.com/darrenjs/wampcc. I'm implementing some additional functionality by using the |
The extensibility section in the paragraph https://wamp-proto.org/_static/gen/wamp_latest_ietf.html#rfc.section.6.1 relates to the WAMP community extending the protocol itself - it is not about user extensibility. User extensibility - aka "custom attributes" or "implementation specific attributes" - is not in the spec, but discussed here: wamp-proto/wamp-proto#345 Thus, the first thing is to nail consensus on above issue on the WAMP spec adding When that is done, we need implementation .. and your PR #1216 is essentially what needs to be done here (it must then be reworked to use |
An important note is wamp-proto/wamp-proto#345 (comment) : I fully agree with @meejah : it would be good to have use cases (the "why?" from a user perspective) described. This ensures that we actually cover the goals when defining the feature in the spec .. |
When using the autobahn, how does one set a custom Option when registering an RPC end point?
The RegisterOptions object throws an exception when using an options that is not specified:
autobahn-python/autobahn/wamp/types.py
Lines 930 to 935 in fe70cee
Section 6.1 of the WAMP specification specifies that if an option is not understood by an implementation then it must be ignored. My understanding is that this means that that the client should transmit the option to the router but not otherwise act on it.
The text was updated successfully, but these errors were encountered: