gql_websocket_link 2.0.2-alpha+1709845491464 copy "gql_websocket_link: ^2.0.2-alpha+1709845491464" to clipboard
gql_websocket_link: ^2.0.2-alpha+1709845491464 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"),
  ]);
}