Example, https://github.com/thqby/ahk2_lib/blob/master/WebSocket.ahk
Code: Select all
/************** these dont get highlighted **********************
* @author thqby
* @date 2023/01/16
* @version 1.0.2
***********************************************************************/
; @param gets highlighted and {string}, but sometimes not. ?
/**
* @param {String} Url the url of websocket
* @param {Object} Events an object of `{data:(this, buf)=>void,message:(this, msg)=>void,close:(this, status, reason)=>void}`
* @param {Integer} Async Use asynchronous mode
* @param {Object|Map|String} Headers Request header
*/
@author doesn't get highlighted, etc
searched the entire docs, no dice. would love a list or method for this. help? Thanks!