I need to setup a websocket server, and I need access to the server instance to create it.
https://github.com/enisdenjo/graphql-ws
For example...
import * as ws from "ws";
const wsServer = new WebSocketServer({
onestackServerInstance,
path: '/api/graphql',
});
How can I access the onestackServerInstance?
I need to setup a websocket server, and I need access to the server instance to create it.
https://github.com/enisdenjo/graphql-ws
For example...
How can I access the
onestackServerInstance?