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.
Type Parameters
Section titled “Type Parameters”In
Out = In
Parameters
Section titled “Parameters”stream
Section titled “stream”Duplex
An already-connected duplex stream.
options
Section titled “options”Omit<FrameLinkOptions<In, Out>, "transport">
FrameLink options excluding the transport.
Returns
Section titled “Returns”FrameLink<In, Out>
A frame link bound to a DuplexTransport over stream.