OptionaladdRoutes to be added on the created face.
OptionalconnectConnect timeout (in milliseconds).
OptionalfallbackFallback routers, used if FCH and default gateway are both unavailable.
OptionalfastestNumber of faces to keep; others are closed. Faces are ranked by shortest testConnection duration.
OptionalfchFCH request, or false to disable FCH query.
OptionalfwLogical forwarder to attach faces to.
OptionalH3Enable HTTP/3 transport.
This is only relevant in browser environment.
This should be set to H3Transport class instance. Having this option avoids always pulling in H3Transport code, to reduce browser bundle size in applications that do not use it.
OptionalmtuOverride MTU of datagram faces.
OptionalpreferWhether to try HTTP/3 before all other options.
OptionalpreferUse TCP instead of UDP.
OptionaltestTest face connection.
OptionaltestInterestLifetime of connection test Interest packets.
OptionaltryWhether to consider default IPv4 gateway as a candidate.
connectToNetwork options.