gql_websocket_link 2.0.1-alpha+1699832453552 copy "gql_websocket_link: ^2.0.1-alpha+1699832453552" to clipboard
gql_websocket_link: ^2.0.1-alpha+1699832453552 copied to clipboard

GQL Websocket Link

example/gql_websocket_link_example.dart

import "package:gql_link/gql_link.dart";
import "package:gql_websocket_link/gql_websocket_link.dart";

void main() {
  // ignore: unused_local_variable
  final link = Link.from([
    // SomeLink(),
    WebSocketLink("ws://localhost:5000/graphql"),
  ]);
}