mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-14 23:19:07 -05:00
Note/link for message propagation
This commit is contained in:
parent
6411aab7f9
commit
2da46501ca
|
@ -41,6 +41,9 @@ fn main() -> Result<(), Error> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Todo: Implement sending messages to all other clients; example:
|
||||||
|
// https://github.com/snapview/tokio-tungstenite/blob/master/examples/server.rs
|
||||||
|
|
||||||
// Handles new TCP connections
|
// Handles new TCP connections
|
||||||
async fn nostr_server(stream: TcpStream) {
|
async fn nostr_server(stream: TcpStream) {
|
||||||
let addr = stream
|
let addr = stream
|
||||||
|
|
Loading…
Reference in New Issue
Block a user