Skip to main content

session_builder

Function session_builder 

Source
pub async fn session_builder<P>(
    addr: EndpointAddr,
) -> Result<IrohSession<P>, Box<dyn Error>>
where P: Protocol,
Expand description

r[impl jetstream.session.conformance.iroh] Dial addr and keep the connection as a session, so the caller can open as many lanes as it wants rather than being handed one.