Created
October 9, 2017 11:21
-
-
Save javierfernandes/c9be887c6eadf392a0decad38a2faf2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import WebSocket from 'ws' | |
| import { SubscriptionClient } from 'subscriptions-transport-ws'; | |
| import ApolloClient from 'apollo-client' | |
| const GRAPHQL_ENDPOINT = 'ws://localhost:5000/subscriptions'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment