Skip to main content

clientToQuery method

GraphQLClient clientToQuery ()

Implementation

GraphQLClient clientToQuery() \{
TODO: Implement websocket link from OrgUrl
final link = Link.split(
(request) =\> request.isSubscription, webSocketLink, httpLink);
return GraphQLClient(
cache: GraphQLCache(partialDataPolicy: PartialDataCachePolicy.accept),
link: httpLink,
);
\}