You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once a Session is created, you can send signals to everyone in the session or to a specific connection.
@@ -354,15 +358,14 @@ The `$sessionId` parameter is the session ID of the session.
354
358
The `$payload` parameter is an associative array used to set the
355
359
following:
356
360
357
-
*`data` (string) -- The data string for the signal. You can send a maximum of 8kB.
361
+
-`data` (string) -- The data string for the signal. You can send a maximum of 8kB.
358
362
359
-
*`type` (string) -- — (Optional) The type string for the signal. You can send a maximum of 128 characters, and only the following characters are allowed: A-Z, a-z, numbers (0-9), '-', '_', and '~'.
363
+
-`type` (string) -- — (Optional) The type string for the signal. You can send a maximum of 128 characters, and only the following characters are allowed: A-Z, a-z, numbers (0-9), '-', '\_', and '~'.
360
364
361
365
The `$connectionId` parameter is an optional string used to specify the connection ID of
362
366
a client connected to the session. If you specify this value, the signal is sent to
363
367
the specified client. Otherwise, the signal is sent to all clients connected to the session.
Once a Session is created, you can send signals to everyone in the session or to a specific connection.
@@ -437,15 +441,14 @@ The `$sessionId` parameter is the session ID of the session.
437
441
The `$payload` parameter is an associative array used to set the
438
442
following:
439
443
440
-
*`data` (string) -- The data string for the signal. You can send a maximum of 8kB.
444
+
-`data` (string) -- The data string for the signal. You can send a maximum of 8kB.
441
445
442
-
*`type` (string) -- — (Optional) The type string for the signal. You can send a maximum of 128 characters, and only the following characters are allowed: A-Z, a-z, numbers (0-9), '-', '_', and '~'.
446
+
-`type` (string) -- — (Optional) The type string for the signal. You can send a maximum of 128 characters, and only the following characters are allowed: A-Z, a-z, numbers (0-9), '-', '\_', and '~'.
443
447
444
448
The `$connectionId` parameter is an optional string used to specify the connection ID of
445
449
a client connected to the session. If you specify this value, the signal is sent to
446
450
the specified client. Otherwise, the signal is sent to all clients connected to the session.
0 commit comments