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, andSplitLinkto 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 coroutines —
co_awaita query or mutation directly;Subscribe()returns anObservablefor streaming use. - Reactive API — every method returns
Observable<GraphQLResponse>, which wraps anrpp::dynamic_observableand supports.subscribe()for event-driven code. - Document transforms —
AddTypenameis applied automatically so the cache can identify object types; plug in custom transforms for persisted queries, analytics, etc.