Skip to content
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

Pass all message details to subscription event handler #219

Open
jbtbnl opened this issue Jul 21, 2016 · 2 comments
Open

Pass all message details to subscription event handler #219

jbtbnl opened this issue Jul 21, 2016 · 2 comments

Comments

@jbtbnl
Copy link

jbtbnl commented Jul 21, 2016

Using publisher disclosure with Thruway as server is challenging because not all message details are passed to the subscription event handler.

The Event object discloses a limited set of details to the event handler, but hides all (other) non-standard details. Therefore, the details authid and authrole as disclosed by Thruway are inaccessible in the event handler.

@oberstet
Copy link
Contributor

See wamp-proto/wamp-proto#57

@oberstet
Copy link
Contributor

hides all (other) non-standard details

Custom (non-standard) attributes must start with x_ .. so the bug is not exposing all these, but not eg authroles which Thruway uses. That should probably be x_tw_authroles or something.

For example, Crossbar.io uses x_cb_node_id in the WELCOME message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants