interface StreamMuxerInit {
    direction?: Direction;
    onIncomingStream?(stream): void;
    onStreamEnd?(stream): void;
}

Properties

direction?: Direction

Outbound stream muxers are opened by the local node, inbound stream muxers are opened by the remote

Methods