Available on crate feature
server only.Expand description
A fully-fledged iroh-relay server over HTTP or HTTPS.
+Available on crate feature
server only.Expand description
A fully-fledged iroh-relay server over HTTP or HTTPS.
This module provides an API to run a full fledged iroh-relay server. It is primarily
used by the iroh-relay binary in this crate. It can be used to run a relay server in
other locations however.
//! A fully-fledged iroh-relay server over HTTP or HTTPS.
+1122
+1123
+1124
+1125//! A fully-fledged iroh-relay server over HTTP or HTTPS.
//!
//! This module provides an API to run a full fledged iroh-relay server. It is primarily
//! used by the `iroh-relay` binary in this crate. It can be used to run a relay server in
@@ -2111,6 +2114,9 @@
info!("client b connect");
client_b.connect().await?;
+ // wait a moment for the relay server to connect
+ tokio::time::sleep(Duration::from_millis(500)).await;
+
info!("sending a -> b");
// send message from a to b