# wx.onSocketClose(function callback)

Listens on the event of disabling the WebSocket connection.

# Parameters

# function callback

The callback function for the event of disabling the WebSocket connection.

点击咨询小助手