We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93f756 commit fdd92afCopy full SHA for fdd92af
1 file changed
sess/R/server.R
@@ -69,6 +69,7 @@ sess_app <- function(use_rstudioapi = TRUE, use_httpgd = TRUE) {
69
onWSOpen = function(ws) {
70
# Bind the active websocket to our environment
71
.sess_env$ws <- ws
72
+ cat("[sess] Client connected\n")
73
74
# Send the attach handshake immediately upon connection (JSON-RPC Notification)
75
notify_client("attach", list(
@@ -99,6 +100,7 @@ sess_app <- function(use_rstudioapi = TRUE, use_httpgd = TRUE) {
99
100
101
ws$onClose(function() {
102
.sess_env$ws <- NULL
103
+ cat("[sess] Client disconnected\n")
104
})
105
}
106
)
0 commit comments