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