0.7.2 • Published 3 years ago
@benzene/ws v0.7.2
@benzene/ws
Fast and simple GraphQL over WebSocket implementing the upcoming GraphQL over WebSocket Protocol.
Installation
npm i graphql @benzene/ws
Usage
import * as WebSocket from "ws";
import { Benzene, makeHandler } from "@benzene/ws";
const GQL = new Benzene({ schema });
const wss = new WebSocket.Server({ path: "/graphql", port: 3000 });
wss.on("connection", makeHandler(GQL, options));
Documentation
Documentation is available at benzene.vercel.app. Check out examples for integrations with different server libraries.
0.7.2
3 years ago
0.7.1
3 years ago
0.6.2
4 years ago
0.7.0
4 years ago
0.6.1
4 years ago
0.6.0-next.1
4 years ago
0.6.0-next.0
4 years ago
0.6.0
4 years ago
0.5.1
4 years ago
0.5.0
4 years ago
0.4.4
4 years ago
0.4.3
4 years ago
0.4.2
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.0
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.1
5 years ago