Skip to content

Ability to pass extra parameters in HELLO message to the server #280

Description

@ArtyomShegeda

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" }]

Activity

  1. darkl commented on Nov 17, 2018

    @darkl
    Member
  2. ArtyomShegeda commented on Nov 17, 2018

    @ArtyomShegeda
    Author

    Can it be implemented with custom WampRealmProxyFactory?
    How is it complex?

  3. darkl commented on Nov 17, 2018

    @darkl
    Member

    I wouldn't recommend it. Besides, most of the properties of HelloDetails are internal so you can't set them without reflection anyway.

  4. hawkerm commented on Feb 20, 2019

    @hawkerm

    @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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions