Skip to content

Use the Apollo Websocket protocol to drive Absinthe GraphQL functionality

License

Notifications You must be signed in to change notification settings

easco/absinthe_apollo_sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absinthe and Apollo Sockets

Absinthe is a library for the Elixir programming language that allows a developer to create and expose a GraphQL interface.

Apollo is a GraphQL system encorporating both Client and Server functionality.

The GraphQL standard defines Subscriptions as a means of receiving event-based notifications through a GraphQL interface, and notes that Web Sockets is one means of transmitting events, but the GraphQL standard itself does not define the Web Socket protocol for communication.

In the Elixir community Absinthe Phoenix is a commonly used to forge a connection between a client and Absinthe using the Phoenix Framework and its channel abstraction.

Apollo, in contrast defines its own web socket protocol.

The purpose of this project is to implement the Apollo web socket protocol in Elixir and provide a means by which Apollo clients can invoke GraphQL Queries, Mutations and Subscriptions through a Web Socket based in the Apollo protocol communicating with Absinthe.

About

Use the Apollo Websocket protocol to drive Absinthe GraphQL functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages