[sockets.connection.enter-group]
sockets.connection.enter-group is a slot in the sockets namespace, in Hyperlambda, the language of Magic Cloud. Adds the current connection to a socket group.
Arguments
Required arguments come first, then the optional ones in the order they are declared.
| Argument | Type | Required | Description |
|---|---|---|---|
[group] |
string | yes | Socket group name. |
JSON declaration
This is the complete declaration of sockets.connection.enter-group, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "sockets.connection.enter-group",
"description": "Adds the current connection to a socket group",
"signature": {
"children": {
"group": {
"type": "string",
"kind": "socket-group",
"description": "Socket group name",
"required": true,
"mode": "ValueOrExpression",
"cardinality": "ExactlyOne",
"role": "Option",
"projection": "Value"
}
}
}
}
all sockets.* slots |
sockets.connection.leave-group → |