Safe Haskell | None |
---|---|
Language | Haskell2010 |
GraphQL Wai Server Applications
Synopsis
- gqlSocketApp :: RootResCon IO e c que mut sub => GQLRootResolver IO e c que mut sub -> GQLState IO e c -> ServerApp
- initGQLState :: IO (GQLState m e c)
- type GQLState m e c = MVar (ClientRegister m e c)
Documentation
gqlSocketApp :: RootResCon IO e c que mut sub => GQLRootResolver IO e c que mut sub -> GQLState IO e c -> ServerApp Source #
Wai WebSocket Server App for GraphQL subscriptions
initGQLState :: IO (GQLState m e c) Source #
initializes empty GraphQL state