Function: createWebSocketStream()
createWebSocketStream(
shim):Duplex
Defined in: service-core/src/http/uWS/WebSocket.ts:86
Creates a Node.js Duplex stream from a UWSWebSocketShim, compatible with the
createWebSocketStream API from the ws library.
Incoming WebSocket messages are pushed as readable data; writes to the stream are forwarded as WebSocket messages.
Parameters
shim
Returns
Duplex