Closed wesleyyee closed 6 years ago
I'm currently trying to create a standard controller that sends messages on a custom namespace but my receiver is not receiving anything. Trying to do something like this:
const Controller = require('castv2-client').RequestResponseController; const channel = client.createController(Controller, 'urn:x-cast:some.custom.channel', 'JSON'); channel.send({ type: 'message', data: { foo: 'bar' } });
I'm currently trying to create a standard controller that sends messages on a custom namespace but my receiver is not receiving anything. Trying to do something like this: