Module

GraphQL.Client.Subscription

#subscriptionOpts

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

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

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

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

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