diff --git a/websocket/api/api.script_api b/websocket/api/api.script_api index b45397d..7c24a03 100644 --- a/websocket/api/api.script_api +++ b/websocket/api/api.script_api @@ -21,6 +21,10 @@ type: number desc: Timeout for the connection sequence (milliseconds). Not used on HTML5. (Default is 3000) + - name: protocol + type: string + desc: the protocol to use (e.g. 'chat'). (Default is 'binary') + - name: headers type: string desc: list of http headers. Each pair is separated with "\r\n". Not used on HTML5.