Optional
addRoutes to be added on the created face.
Optional
connectConnect timeout (in milliseconds).
Optional
fallbackFallback routers, used if FCH and default gateway are both unavailable.
Optional
fastestNumber of faces to keep; others are closed. Faces are ranked by shortest testConnection duration.
Optional
fchFCH request, or false
to disable FCH query.
Optional
fwLogical forwarder to attach faces to.
Optional
H3Enable 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.
Optional
mtuOverride MTU of datagram faces.
Optional
preferWhether to try HTTP/3 before all other options.
Optional
preferUse TCP instead of UDP.
Optional
testTest face connection.
Optional
testInterestLifetime of connection test Interest packets.
Optional
tryWhether to consider default IPv4 gateway as a candidate.
connectToNetwork options.