NDNts

    Interface FchRequest

    FCH service request.

    interface FchRequest {
        count?: number;
        ipv4?: boolean;
        ipv6?: boolean;
        network?: string;
        position?: [lon: number, lat: number];
        server?: string;
        signal?: AbortSignal;
        transport?: string;
        transports?: readonly string[] | Record<string, number>;
    }
    Index

    Properties

    count?: number

    Number of routers.

    Ignored if transports is a Record.

    ipv4?: boolean

    IPv4 allowed?

    auto detect

    ipv6?: boolean

    IPv6 allowed?

    auto detect

    network?: string

    Network authority, such as "yoursunny".

    position?: [lon: number, lat: number]

    Client geolocation.

    server?: string

    FCH service URI.

    https://fch.ndn.today

    signal?: AbortSignal

    AbortSignal that allows canceling the request via AbortController.

    transport?: string

    Transport protocol, such as "udp".

    Ignored if .transports is specified.

    transports?: readonly string[] | Record<string, number>

    Transport protocols.

    If this is an array of transport protocols, the quantity of each is specified by count. If this is a Record, each key is a transport protocol and each value is the quantity.

    MMNEPVFCICPMFPCPTTAAATR