package com.codename1.io.graphql

GraphQL client runtime. GraphQL sends queries and mutations over HTTP POST and parses the {"data":...,"errors":[...]} envelope; GraphQLResponse is the typed result wrapper (data and errors can co-exist as a partial result); GraphQLError is one entry of the errors array; GraphQLSubscription streams subscription payloads over a WebSocket; GraphQLClients is the per-@GraphQLClient factory registry that the build-time-generated cn1app.GraphQLClientBootstrap populates.

End-to-end usage is documented on com.codename1.annotations.graphql – the user-facing entry point is the generated <Name>.of(endpoint) factory rather than any class in this package directly.

Types

class GraphQLHigh-level GraphQL-over-HTTP invoker used by generated @GraphQLClient implementations.
class GraphQLClientsRuntime registry that wires @GraphQLClient-annotated interfaces to the build-time-generated implementations.
class GraphQLErrorOne entry from a GraphQL response errors array.
class GraphQLResponseResult of a GraphQL query or mutation.
class GraphQLSubscriptionHandle for a live GraphQL subscription.