ws icon indicating copy to clipboard operation
ws copied to clipboard

doc: which events are proxied through `createWebSocketStream`

Open coolaj86 opened this issue 8 months ago • 3 comments

The documentation doesn't specify how the ws module stream maps to which type of Node Duplex Stream.

I assume that it behaves like a TCP Duplex Stream: https://nodejs.org/api/net.html#class-netsocket.

I also assume that the ping and pong and keepalive timeouts are proxied in a meaningful way.

coolaj86 avatar Jun 11 '24 04:06 coolaj86