graphql_ws_web_socket_channel_connector 0.1.0 copy "graphql_ws_web_socket_channel_connector: ^0.1.0" to clipboard
graphql_ws_web_socket_channel_connector: ^0.1.0 copied to clipboard

A graphql_ws WebSocketConnector backed by package:web_socket_channel. Lets graphql_ws run on Flutter web (and anywhere else web_socket_channel is supported) without dropping graphql_ws's zero-dependency core.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add graphql_ws_web_socket_channel_connector

With Flutter:

 $ flutter pub add graphql_ws_web_socket_channel_connector

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  graphql_ws_web_socket_channel_connector: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:graphql_ws_web_socket_channel_connector/graphql_ws_web_socket_channel_connector.dart';
0
likes
140
points
194
downloads

Documentation

API reference

Publisher

verified publisherphlm.fyi

Weekly Downloads

A graphql_ws WebSocketConnector backed by package:web_socket_channel. Lets graphql_ws run on Flutter web (and anywhere else web_socket_channel is supported) without dropping graphql_ws's zero-dependency core.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

graphql_ws, web_socket_channel

More

Packages that depend on graphql_ws_web_socket_channel_connector