Skip to main content

Transport

This item is only intended to be used by the module's authors. Private

The transport is an internal construct of the client that abstracts away the event sending. Typically the transport runs in a separate thread and gets events to send via a queue.

The transport is responsible for sending, retrying and handling rate limits. The transport might also persist unsent events across restarts if needed.

Show raw api
{
    "functions": [],
    "properties": [],
    "types": [],
    "name": "Transport",
    "desc": "The transport is an internal construct of the client that abstracts away\nthe event sending. Typically the transport runs in a separate thread and\ngets events to send via a queue.\n\nThe transport is responsible for sending, retrying and handling rate\nlimits. The transport might also persist unsent events across restarts\nif needed.",
    "private": true,
    "source": {
        "line": 19,
        "path": "src/Transport.lua"
    }
}