iroh-http-core 0.4.0

Iroh QUIC endpoint, HTTP/1.1 over hyper, fetch/serve with FFI-friendly types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Transport subsystem — raw QUIC endpoint and stable identity.

use iroh::Endpoint;

/// Raw QUIC transport state.
pub(in crate::endpoint) struct Transport {
    /// The bound iroh endpoint. Cloning is cheap (internally `Arc`).
    pub(in crate::endpoint) ep: Endpoint,
    /// The node's own base32-encoded public key. Stable for the lifetime
    /// of the secret key.
    pub(in crate::endpoint) node_id_str: String,
}