Interface CreateFaceOptions

Options to createFace function as first parameter.


  • CreateFaceOptions


addRoutes?: NameLike[]

Routes to be added on the created face. Default is ["/"].

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

Type declaration

    • (transport, l3face, 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.


      Returns void

fw?: Forwarder

Forwarder instance to add the face to. Default is the default Forwarder.

L3Face attributes. l3.advertiseFrom defaults to false in createFace function.

lp?: Options

NDNLP service options.

Generated using TypeDoc