setupHttpServerWithWebsockets(app, logger?, websocketMiddlewares?): Server
Creates an http server instance that can be retrieved using getHttpServer function. Also registers provided websocketMiddlewares which can be retrieved using getWebsocketMiddlewares function. Useful when setting up GraphQL Subscriptions.
Creates an http server instance that can be retrieved using
getHttpServer
function. Also registers provided websocketMiddlewares which can be retrieved usinggetWebsocketMiddlewares
function. Useful when setting up GraphQL Subscriptions.