Package: @effect/platform-node-shared
Module: NodeSocketServer
Creates a scoped WebSocket SocketServer backed by the ws package,
providing the WebSocket and its Node IncomingMessage to connection
handlers and closing the server when the scope ends.
Signature
declare const makeWebSocket: (options: NodeWS.ServerOptions<typeof NodeWS.WebSocket, typeof Http.IncomingMessage>) => Effect.Effect<SocketServer.SocketServer["Service"], SocketServer.SocketServerError, Scope.Scope>
Since v4.0.0