summaryrefslogtreecommitdiff
path: root/modules/websocket/doc_classes/WebSocketClient.xml
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-09-24 14:45:03 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-06-18 00:06:40 -0300
commit0ff4095b3689093680d4279851d6852eeaa0a0b3 (patch)
treef973969ce41b6810077e92c9cecca21d1c19f2b9 /modules/websocket/doc_classes/WebSocketClient.xml
parent407229aeeb2302e96acc26b34b8656ace0b1a20c (diff)
Better format arguments in variant parser
Diffstat (limited to 'modules/websocket/doc_classes/WebSocketClient.xml')
-rw-r--r--modules/websocket/doc_classes/WebSocketClient.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/websocket/doc_classes/WebSocketClient.xml b/modules/websocket/doc_classes/WebSocketClient.xml
index d362bcc10f..6af610c689 100644
--- a/modules/websocket/doc_classes/WebSocketClient.xml
+++ b/modules/websocket/doc_classes/WebSocketClient.xml
@@ -17,11 +17,11 @@
</return>
<argument index="0" name="url" type="String">
</argument>
- <argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray( )">
+ <argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray()">
</argument>
<argument index="2" name="gd_mp_api" type="bool" default="false">
</argument>
- <argument index="3" name="custom_headers" type="PackedStringArray" default="PackedStringArray( )">
+ <argument index="3" name="custom_headers" type="PackedStringArray" default="PackedStringArray()">
</argument>
<description>
Connects to the given URL requesting one of the given [code]protocols[/code] as sub-protocol. If the list empty (default), no sub-protocol will be requested.