gql icon indicating copy to clipboard operation
gql copied to clipboard

Add an example to connect to Phoenix Channel

Open harigopalakrishna opened this issue 3 years ago • 2 comments

Could we please add an example that shows how to use PhoenixChannelWebsocketsTransport . I'm trying to connect to the websocket server implemented using Phoenix Channel and unable to do so by following the documentation. Any help would be greatly appreciated.

harigopalakrishna avatar Aug 11 '22 06:08 harigopalakrishna

There are some examples in the tests.

What is your backend, it it public ?

leszekhanusz avatar Aug 11 '22 09:08 leszekhanusz

@leszekhanusz Thanks for your quick response. Our backend is Phoenix/Elixir, and I'm trying to connect to the channels. It is not a public project. I'll look in to the test, appreciate the reference.

harigopalakrishna avatar Aug 11 '22 23:08 harigopalakrishna