1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
.. _phoenix_transport:
PhoenixChannelWebsocketsTransport
=================================
The PhoenixChannelWebsocketsTransport is an async transport which allows you
to execute queries and subscriptions against an `Absinthe`_ backend using the `Phoenix`_
framework `channels`_.
Reference:
:class:`gql.transport.phoenix_channel_websockets.PhoenixChannelWebsocketsTransport`
.. literalinclude:: ../code_examples/phoenix_channel_async.py
.. _Absinthe: http://absinthe-graphql.org
.. _Phoenix: https://www.phoenixframework.org
.. _channels: https://hexdocs.pm/phoenix/Phoenix.Channel.html#content
|