p2p/webrtc/
mod.rs

1//! # WebRTC Implementation
2//!
3//! This module provides WebRTC peer-to-peer communication capabilities for
4//! OpenMina.
5//! WebRTC enables direct peer connections, NAT traversal, and efficient
6//! blockchain node communication, particularly important for the Web Node
7//! (browser-based Mina protocol).
8//!
9//! For comprehensive documentation about WebRTC concepts and this implementation,
10//! see: <https://o1-labs.github.io/openmina/developers/webrtc>
11
12mod host;
13pub use host::Host;
14
15mod signal;
16pub use signal::{
17    Answer, EncryptedAnswer, EncryptedOffer, Offer, P2pConnectionResponse, RejectionReason, Signal,
18};
19
20mod signaling_method;
21pub use signaling_method::{HttpSignalingInfo, SignalingMethod, SignalingMethodParseError};
22
23mod connection_auth;
24pub use connection_auth::{ConnectionAuth, ConnectionAuthEncrypted};