Optional
H3Optional
addRoutes to be added on the created face. Default is ["/"].
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. Default is 1.
Optional
fchFCH request.
Default is requesting 4 routers. Pass false to disable FCH.
Optional
fwOptional
mtuOverride MTU of datagram faces.
Optional
preferWhether to try HTTP/3 before all other options. Default is false. Ignored if H3Transport is not enabled or supported.
Optional
preferUse TCP instead of UDP.
This is only relevant in Node.js environment.
Optional
testTest face connection.
Default is "/localhop/nfd/rib/list".
Optional
testInterestLifetime of connection test Interest packets. Used only if testConnection is a string or Name. Default is 2000.
Optional
tryConsider default IPv4 gateway as a candidate.
Generated using TypeDoc
Enable HTTP/3 transport.
This is only relevant in browser environment.
This should be set to
H3Transport
class instance. It reduces browser bundle size in applications that do not use H3Transport.