Skip to main content

SendRequest

Allows for modification of queued packets before they're sent.

Functions

to

SendRequest:to(recipient{Player} | Player | "NET_SERVER") → ()

Modifies the recipients of the packet to the one(s) provided in the parameter.

Show raw api
{
    "functions": [
        {
            "name": "to",
            "desc": "Modifies the recipients of the packet to the one(s) provided in the parameter.",
            "params": [
                {
                    "name": "recipient",
                    "desc": "",
                    "lua_type": "{ Player } | Player | \"NET_SERVER\""
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 49,
                "path": "lib/SendRequest.luau"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "SendRequest",
    "desc": "Allows for modification of queued packets before they're sent.",
    "since": "v0.4.0",
    "source": {
        "line": 27,
        "path": "lib/SendRequest.luau"
    }
}