You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to pass extra parameters in HELLO message to the server #280
Is it possible to pass extra data from client to the server in HELLO message? I need to send other than standard "roles". Third party server accepts HELLO message that looks like this: [1,"",{ "roles":{ "publisher":{}, "subscriber":{}, "caller":{} }, "user_id":123456789, "security_token":"987654321", "language":"en", "country":"US", "platform":"android" }]
@darkl I noticed the FleckTransportDetails is internal as well, so it makes it hard to retrieve information about the incoming connection. Is there another way to inspect this data to retrieve values like Peer and Headers?
Activity
darkl commentedon Nov 17, 2018
ArtyomShegeda commentedon Nov 17, 2018
Can it be implemented with custom WampRealmProxyFactory?
How is it complex?
darkl commentedon Nov 17, 2018
I wouldn't recommend it. Besides, most of the properties of HelloDetails are internal so you can't set them without reflection anyway.
hawkerm commentedon Feb 20, 2019
@darkl I noticed the FleckTransportDetails is internal as well, so it makes it hard to retrieve information about the incoming connection. Is there another way to inspect this data to retrieve values like
PeerandHeaders?