Skip to content

frameLinkFromDuplex

frameLinkFromDuplex<In, Out>(stream, options): FrameLink<In, Out>

Defined in: net-transport-node/src/frame-link-from-duplex.ts:15

Bind a frame link to an already-connected duplex stream.

In

Out = In

Duplex

An already-connected duplex stream.

Omit<FrameLinkOptions<In, Out>, "transport">

FrameLink options excluding the transport.

FrameLink<In, Out>

A frame link bound to a DuplexTransport over stream.