Interface EndpointOptions

Options passed to [Endpoint::bind].

bind applies the n0 preset by default. For a custom preset use [Endpoint::builder] + the EndpointBuilder surface.

interface EndpointOptions {
    alpns?: number[][];
    bindAddr?: string;
    secretKey?: number[];
}

Properties

alpns?: number[][]
bindAddr?: string
secretKey?: number[]