Module
GraphQL.Client.Subscription
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#subscriptionOpts Source
subscriptionOpts :: forall b a returns query schema client opts. SubscriptionClient client opts => GqlQuery schema query returns => DecodeJson returns => (opts -> opts) -> Client client a b schema -> String -> query -> Emitter (Either JsonDecodeError returns)
#subscriptionOptsWithDecoder Source
subscriptionOptsWithDecoder :: forall client opts schema query returns a b. SubscriptionClient client opts => GqlQuery schema query returns => (Json -> Either JsonDecodeError returns) -> (opts -> opts) -> (Client client a b schema) -> String -> query -> Emitter (Either JsonDecodeError returns)
#subscription Source
subscription :: forall b a returns query schema client opts. SubscriptionClient client opts => GqlQuery schema query returns => DecodeJson returns => Client client a b schema -> String -> query -> Emitter (Either JsonDecodeError returns)
#subscriptionWithDecoder Source
subscriptionWithDecoder :: forall client opts schema query returns a b. SubscriptionClient client opts => GqlQuery schema query returns => (Json -> Either JsonDecodeError returns) -> (Client client a b schema) -> String -> query -> Emitter (Either JsonDecodeError returns)
#subscriptionFullRes Source
subscriptionFullRes :: forall client schema subscription returns a b subOpts. SubscriptionClient client subOpts => GqlQuery schema subscription returns => DecodeJson returns => (Json -> Either JsonDecodeError returns) -> (subOpts -> subOpts) -> (Client client a b schema) -> String -> subscription -> Emitter (Either JsonDecodeError (GqlRes returns))
Run a graphQL subscription, getting the full response, According to https://spec.graphql.org/June2018/#sec-Response-Format
- Modules
- Data.
GraphQL. AST - Data.
GraphQL. Parser - GraphQL.
Client. Alias - GraphQL.
Client. Alias. Dynamic - GraphQL.
Client. Args - GraphQL.
Client. BaseClients. Affjax. Internal - GraphQL.
Client. BaseClients. Affjax. Node - GraphQL.
Client. BaseClients. Affjax. Web - GraphQL.
Client. BaseClients. Apollo - GraphQL.
Client. BaseClients. Apollo. ErrorPolicy - GraphQL.
Client. BaseClients. Apollo. FetchPolicy - GraphQL.
Client. BaseClients. Urql - GraphQL.
Client. CodeGen. GetSymbols - GraphQL.
Client. CodeGen. Js - GraphQL.
Client. CodeGen. Lines - GraphQL.
Client. CodeGen. Query - GraphQL.
Client. CodeGen. Schema - GraphQL.
Client. CodeGen. Template. Enum - GraphQL.
Client. CodeGen. Template. Schema - GraphQL.
Client. CodeGen. Transform. NullableOverrides - GraphQL.
Client. CodeGen. Types - GraphQL.
Client. ID - GraphQL.
Client. Query - GraphQL.
Client. QueryReturns - GraphQL.
Client. SafeQueryName - GraphQL.
Client. Subscription - GraphQL.
Client. ToGqlString - GraphQL.
Client. Types - GraphQL.
Client. Union - GraphQL.
Client. Variable - GraphQL.
Client. Variables - GraphQL.
Client. Variables. TypeName - GraphQL.
Client. WatchQuery - GraphQL.
Hasura. Array - GraphQL.
Hasura. ComparisonExp - GraphQL.
Hasura. Decode - GraphQL.
Hasura. DecodeLiberal - GraphQL.
Hasura. Encode