Response

dhavalp
I sent WebSocket request for this message: {a: 'subscribe', v: ['full', [408065, 884737]]}, the server return message every second, but it's just an array with a element "0"

any hint for this?
  • dhavalp
    Also there are 3 actions, subscribe/unsubscribe/mode, do i need to send "subscribe" first before "mode"?
  • Kailash
    {a: 'subscribe', v: ['full', [408065, 884737]]} is incorrect. To subscribe, it should be:
    {a: 'subscribe', v: [408065, 884737]}

    And yes, you need to subscribe first.
  • dhavalp
    Cant I simply do message = {"a": "mode", "v": ["full", [408065]}; without subscribe? Because I guess I did that and it worked. Thus asking
  • Vivek
    Yeah it works because we auto subscribe when you set the mode but for the for verbosity we recommend you to subscribe and change the mode.
Sign In or Register to comment.