mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-12-22 16:35:51 -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(())
|
||||
}
|
||||
|
||||
// Todo: Implement sending messages to all other clients; example:
|
||||
// https://github.com/snapview/tokio-tungstenite/blob/master/examples/server.rs
|
||||
|
||||
// Handles new TCP connections
|
||||
async fn nostr_server(stream: TcpStream) {
|
||||
let addr = stream
|
||||
|
|
Loading…
Reference in New Issue
Block a user