Skip to main content
Module

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

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

Authorizes the connection with the websocket.

If no token is passed, a new token will be automatically fetched.

Parameters

optional
token: string