Interface WebRTCDirectTransportComponents

The peer for this transport

interface WebRTCDirectTransportComponents {
    logger: ComponentLogger;
    metrics?: Metrics;
    peerId: PeerId;
    privateKey: PrivateKey;
    transportManager: TransportManager;
    upgrader: Upgrader;
}

Properties

metrics?: Metrics
peerId: PeerId
privateKey: PrivateKey
transportManager: TransportManager
upgrader: Upgrader