Connection data corrupted?

server side: when post to ‘/api/tokens’, add extra data as in: JSON.stringify({ session: sessionId, data: ‘test’ }),
client side: when connect, add data as in: connect(token, { a: 1})
then in onStreamCreated, e.stream.connection.data become “{“a”:“1”}%/%test”

A bug?

1 Like