feat: parse subscription close requests from websockets
This commit is contained in:
+4
-2
@@ -82,9 +82,11 @@ async fn nostr_server(
|
||||
}
|
||||
},
|
||||
Some(Ok(SubMsg(s))) => {
|
||||
info!("Sub request from client: {:?}", s);
|
||||
info!("Sub-open request from client: {:?}", s);
|
||||
},
|
||||
Some(Ok(CloseMsg(c))) => {
|
||||
info!("Sub-close request from client: {:?}", c);
|
||||
},
|
||||
Some(Ok(CloseMsg)) => {},
|
||||
None => {
|
||||
info!("stream ended");
|
||||
//conn_good = true;
|
||||
|
||||
Reference in New Issue
Block a user