Skip to main content
Module

x/ptereno/lib/models/ServerSocket.ts>ServerSocket#reconnect

An efficient and fully compliant Pterodactyl API wrapper.
Latest
method ServerSocket.prototype.reconnect
import { ServerSocket } from "https://deno.land/x/ptereno@v1.0.1/lib/models/ServerSocket.ts";

Reconnects to the daemon and prepares a new connection.

Parameters

optional
code: number = [UNSUPPORTED]
optional
reason: string = [UNSUPPORTED]