Skip to main content

Introduction to GQLXY Client

GQLXY Client is a C++20 GraphQL client library that gives your application a full-featured GraphQL client.

It follows the same design philosophy as @apollo/client for JavaScript: a transport link chain that is fully composable.

What GQLXY Client provides

  • Link-based transport — compose HttpLink, WsLink, and SplitLink to route queries and subscriptions to the right endpoint.
  • Normalized InMemoryCache — entities are stored once and referenced by key; mutations automatically update all queries that depend on the same entity.
  • C++20 coroutinesco_await a query or mutation directly; Subscribe() returns an Observable for streaming use.
  • Reactive API — every method returns Observable<GraphQLResponse>, which wraps an rpp::dynamic_observable and supports .subscribe() for event-driven code.
  • Document transformsAddTypename is applied automatically so the cache can identify object types; plug in custom transforms for persisted queries, analytics, etc.