Skip to main content

create_blokli_client

Function create_blokli_client 

Source
pub fn create_blokli_client(cfg: HoprBlokliClientConfig) -> BlokliClient
Expand description

Creates a blokli_client::BlokliClient with the connector’s opinionated defaults.

Applies a 3 s general timeout and 30 s SSE reconnect timeout. Callers that need DNS pinning set HoprBlokliClientConfig::dns_override; all other settings are fixed.