turnpike
turnpike copied to clipboard
Access session id in MethodHandler
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.
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