Skip to main content
Module

x/ptereno/lib/types/serversocket.ts>SocketOptions

An efficient and fully compliant Pterodactyl API wrapper.
Latest
interface SocketOptions
import { type SocketOptions } from "https://deno.land/x/ptereno@v1.0.1/lib/types/serversocket.ts";

Properties

optional
intents: Array<SocketIntent>

The list of intents to use.

NOTICE: This currently has no internal use and will have no effect.

optional
reconnect: boolean

Automatically reconnects after a connection dies.

optional
reconnectDelay: number

The delay in milliseconds between each reconnection attempt.

Only applies when reconnections are enabled.

optional
retries: number

The number of times the websocket can reconnect before failing.

Only applies when reconnections are enabled.