UNPKG

graphql-ws

Version:

Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client

22 lines (17 loc) 800 B
'use strict'; var client = require('./client.cjs'); var server = require('./server-Dr_BC2Xw.cjs'); var common = require('./common-DqFHi7oM.cjs'); require('graphql'); exports.TerminatedCloseEvent = client.TerminatedCloseEvent; exports.createClient = client.createClient; exports.areGraphQLErrors = server.areGraphQLErrors; exports.handleProtocols = server.handleProtocols; exports.makeServer = server.makeServer; exports.CloseCode = common.CloseCode; exports.DEPRECATED_GRAPHQL_WS_PROTOCOL = common.DEPRECATED_GRAPHQL_WS_PROTOCOL; exports.GRAPHQL_TRANSPORT_WS_PROTOCOL = common.GRAPHQL_TRANSPORT_WS_PROTOCOL; exports.MessageType = common.MessageType; exports.parseMessage = common.parseMessage; exports.stringifyMessage = common.stringifyMessage; exports.validateMessage = common.validateMessage;