feat: parse subscription close requests from websockets

This commit is contained in:
Greg Heartsfield
2021-12-05 17:33:40 -06:00
parent e7d0ab1aca
commit 35ceb7cb64
5 changed files with 35 additions and 6 deletions
+4 -2
View File
@@ -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;