Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UserEndpoint

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly client

client: BegetRequest

Methods

getAccountInfo

  • Method returns information on the user's tariff plan, on some parameters of the server, where the user is currently located and on the applied limits thereof.

    Returns Promise<AccountInfo>

Private method

  • method<T>(method: Methods["user"], data?: object): Promise<T>
  • Type parameters

    • T

    Parameters

    • method: Methods["user"]
    • Optional data: object

    Returns Promise<T>

toggleSsh

  • If there is no additional ftplogin parameter for the main account, the method enables and disables SSH for ftp account with ftplogin.

    Parameters

    Returns Promise<void>

Generated using TypeDoc