TarekkMA / gql_dio_link

Similar to gql_http_link, A GQL Terminating Link to execute requests via Dio using JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎉 gql_dio_link is now part of the gql family.

ℹ️ Please go to gql-dart/gql for more info.

Similar to gql_http_link, This is a GQL Terminating Link to execute requests via Dio using JSON.

Usage

A simple usage example:

import "package:dio/dio.dart";
import "package:gql_link/gql_link.dart";
import "package:gql_dio_link/gql_dio_link.dart";

void main () {
  final dio = Dio();
  final link = Link.from([
    // SomeLink(),
    DioLink("/graphql", client: dio),
  ]);
}

Features and bugs

Please file feature requests and bugs at the GitHub.

Attribution

This code is adapted from gql_http_link.

About

Similar to gql_http_link, A GQL Terminating Link to execute requests via Dio using JSON

License:MIT License


Languages

Language:Dart 100.0%