turnpike icon indicating copy to clipboard operation
turnpike copied to clipboard

Access session id in MethodHandler

Open theduke opened this issue 9 years ago • 1 comments

I need to access the session ID within a MethodHandler.

As far as I can tell, there is no way to do that now.

I'm willing to put in work myself and then open a PR, but this will require an API change, so I wanted to ask first how you think this should be implemented.

theduke avatar Oct 23 '15 01:10 theduke

Taking a look at the SPEC, it seems that this should be implemented using CALL.Options.disclose_me|bool := true.

https://tools.ietf.org/html/draft-oberstet-hybi-tavendo-wamp-02#section-13.3.5

mourad avatar May 16 '16 21:05 mourad