graphql-ws
Version:
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client
5 lines (4 loc) • 1.19 kB
TypeScript
export { Client, ClientOptions, Event, EventClosed, EventClosedListener, EventConnected, EventConnectedListener, EventConnecting, EventConnectingListener, EventError, EventErrorListener, EventListener, EventMessage, EventMessageListener, EventOpened, EventOpenedListener, EventPing, EventPingListener, EventPong, EventPongListener, TerminatedCloseEvent, createClient } from './client.js';
export { C as Context, G as GraphQLExecutionContextValue, O as OperationResult, a as Server, S as ServerOptions, W as WebSocket, b as areGraphQLErrors, h as handleProtocols, m as makeServer } from './server-CRG3y31G.js';
export { C as CloseCode, h as CompleteMessage, c as ConnectionAckMessage, b as ConnectionInitMessage, D as DEPRECATED_GRAPHQL_WS_PROTOCOL, a as Disposable, g as ErrorMessage, E as ExecutionResult, F as FormattedExecutionResult, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, I as ID, j as JSONMessageReplacer, J as JSONMessageReviver, i as Message, M as MessageType, N as NextMessage, P as PingMessage, d as PongMessage, S as Sink, e as SubscribeMessage, f as SubscribePayload, p as parseMessage, s as stringifyMessage, v as validateMessage } from './common-DY-PBNYy.js';
import 'graphql';