Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Server event from browser websocket connection close?

Question
Dan Pahnke · Jul 23, 2019

Server event from browser websocket connection close?

Hello,

I've got a csp page that has successfully set up a websocket connection to a Cache class. When the websocket object's close function is triggered at the browser I was expecting one of the class' methods to fire at the server. The onclose method is triggered at the browser but nothing at the server. Is a method supposed to fire at the server?

Thanks,

Dan

 

Cache for Windows (x86-64) 2015.1.4 (Build 803_6) Tue May 15 2018 12:08:36 EDT

#Frontend #Caché

Source URL:https://community.intersystems.com/post/server-event-browser-websocket-connection-close