NDNts

    Interface CreateFaceOptions

    Options to createFace as first parameter.

    interface CreateFaceOptions {
        addRoutes?: readonly NameLike[];
        callback?: (transport: Transport, l3face: L3Face, fwFace: FwFace) => void;
        fw?: Forwarder;
        l3?: L3Face.Attributes;
        lp?: LpService.Options;
    }
    Index

    Properties

    addRoutes?: readonly NameLike[]

    Routes to be added on the created face.

    ["/"]

    callback?: (transport: Transport, l3face: L3Face, fwFace: FwFace) => void

    A callback to receive Transport, L3Face, and FwFace objects.

    This can be useful for reading counters or listening to events on these objects.

    Forwarder instance to add the face to.

    Forwarder.getDefault()

    L3Face attributes.

    .l3.advertiseFrom defaults to false in createFace function.

    NDNLP service options.

    MMNEPVFCICPMFPCPTTAAATR