Skip to content

karlosmid/absinthe_websocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbsintheWebSocketHR

This libary uses WebSockets to communicate with a GraphQL endpoint built using Absinthe and Phoenix Channels. Its primary goal is to allow clients to use Subscriptions, although it also supports queries. It uses WebSockex as a WebSocket client. It also handles the specifics of Phoenix Channels (heartbeats) and how Absinthe subscriptions were implemented on top of them.

It is a fork of https://hexdocs.pm/absinthe_websocket, it contains following bug fix: https://github.com/karlosmid/absinthe_websocket/commit/b08e0cf07c1dcdbb98e14c3905d8ee7b777aee66

Documentation

Docs can be found at https://hexdocs.pm/absinthe_websocket.

A complete walkthrough can be found on the Annkissam Alembic. It also has an associated demo.

Installation

The simplest way to get started is to use the common_graphql_client. The readme and associated tutorial walk through the complete installation.

About

Communicate with a Absinthe+Phoenix Endpoint over WebSockets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%