Optional
initiatorMulti-stream select is a initiator/responder protocol. By default a
connection returned from upgrader.upgradeOutbound
will be the initiator
and one returned from upgrader.upgradeInbound
will be the responder.
Pass a value here to override the default.
Optional
limitsIf the connection is to have limits applied to it, pass them here
Optional
muxerBy default a stream muxer protocol will be negotiated via multi-stream select after an encryption protocol has been agreed on.
If a transport provides it's own stream muxing facility pass a muxer factory instance here to skip muxer negotiation.
Optional
onIf skipEncryption
is true, a remote PeerId must be supplied
If true the invoking transport is expected to implement it's own encryption and an encryption protocol will not attempted to be negotiated via multi-stream select
Optional
skipIf true no connection protection will be performed on the connection.
Options accepted by the upgrader during connection establishment