Routes to be added on the created face. Default is ["/"].
Connect timeout (in milliseconds).
Fallback routers, used if FCH and default gateway are both unavailable.
Number of faces to keep; others are closed. Faces are ranked by shortest testConnection duration. Default is 1.
Default is requesting 4 routers. Pass false to disable FCH.
Override MTU of datagram faces.
Whether to try HTTP/3 before all other options. Default is false. Ignored if H3Transport is not enabled or supported.
Use TCP instead of UDP.
This is only relevant in Node.js environment.
Test face connection.
Default is "/localhop/nfd/rib/list".
InterestLifetime of connection test Interest packets. Used only if testConnection is a string or Name. Default is 2000.
Consider 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
H3Transportclass instance. It reduces browser bundle size in applications that do not use H3Transport.