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