Can't connected to adonis ws from client


I’m using adonis WebSocket in server-side, in client-side I’m using flutter & dart, but I can’t subscribe channel from the client

I use IOWebSocketChannel and Stomp but no result

can I use socket io? if I can, then how can send listener data to the controller

1 Like

Hello @irdeveloper89 and welcome to community!

If you want to make custom client be sure to go thro

Especially the #packets section, since Adonis uses small WS packages to subscribe to channels

For example: A packet to join a channel looks as follows.

  t: 1,
  d: { topic: 'chat' }
1 Like