PresetImpl

Configures a freshly created `EndpointBuilder`.

This mirrors the upstream iroh::endpoint::presets::Preset trait and is implementable from the foreign language: implement apply to configure the builder however you like (typically calling one of the `EndpointBuilder::apply_n0` / apply_minimal / apply_n0_disable_relay baselines first, since those install the crypto provider). The built-in presets are available as `preset_n0`, `preset_minimal`, and `preset_n0_disable_relay`.

Functions

Link copied to clipboard
open override fun apply(builder: EndpointBuilder)
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()