In IOS, which client is used to request absinthe websocket?

I can’t find anything useful :sob:

Apollo seems to have some websockets support since PR #220.

There’s also LiveGQL for subscriptions.

1 Like

Absinthe itself does not have any particular transport restrictions or capabilities. If you want to use it with Absinthe.Phoenix over phoenix websockets, you’ll need an iOS phoenix channels client.

From there you join a specific channel and push docs at the server.

1 Like

Now the solution is to use https://github.com/davidstump/SwiftPhoenixClient to connect the __absinthe__:control Channel

Apollo uses its own WebSocket protocol that is different from the one that Absinthe.Phoenix drives. If you can use the Phoenix client as @benwilson512 suggests then that is probably your best bet.

I began a library that connects a client using the Apollo client’s web socket protocol. That project is here:

And it works to a Proof of Concept level. I have not had the opportunity to drive it farther than that.

1 Like

Hey, any chance of putting put a guide for phoenix on this? Im on the elixir slack if you want to chat there as well. I pinged you a couple times.