libp2p
    Preparing search index...

    Interface SecuredConnection<Stream, Extension>

    interface SecuredConnection<Stream = any, Extension = unknown> {
        conn: Stream;
        remoteExtensions?: Extension;
        remotePeer: PeerId;
        streamMuxer?: StreamMuxerFactory;
    }

    Type Parameters

    • Stream = any
    • Extension = unknown
    Index

    Properties

    conn: Stream
    remoteExtensions?: Extension
    remotePeer: PeerId
    streamMuxer?: StreamMuxerFactory

    Some encryption protocols allow negotiating application protocols as part of the initial handshake. Where we are able to negotiated a stream muxer for the connection it will be returned here.