Returns configured connection encrypters
Returns configured stream muxers
Upgrades an inbound connection received by a transport listener and notifies other libp2p components about the new connection
Optional
opts: UpgraderOptions<InboundConnectionUpgradeEvents>Upgrades an outbound connection created by the dial
method of a transport
Optional
opts: UpgraderOptions<OutboundConnectionUpgradeEvents>
Used by transports that perform part of the upgrade process themselves and do some async work. This allows configuring inbound upgrade timeouts from a single location.
Regular transports should just pass the signal from their shutdown controller to
upgradeInbound
.