diff --git a/src/main.js b/src/main.js index be738280c49dfeea1e0cd7b05d4b8626d08f517f..4a37b55e2bde660e76893c8b231a7f39f41e9c9c 100644 --- a/src/main.js +++ b/src/main.js @@ -56,6 +56,8 @@ import { resize_helper, handle_resize } from './resize.js'; ** onagent (optional) If given, a function to be called when ** a VD agent is connected; a good opportunity ** to request a resize +** onsuccess (optional) If given, a function to be called when the +** session is successfully connected ** ** Throws error if there are troubles. Requires a modern (by 2012 standards) ** browser, including WebSocket and WebSocket.binaryType == arraybuffer