Variable DefaultRestOptionsConst

DefaultRestOptions: {
    version: 4;
    userAgent: `${string}/${string} (${string})`;
    stackTrace: false;
    requestTimeout: 10000;
} = ...

Default REST client options

Type declaration

  • Readonly version: 4

    Lavalink API version

  • Readonly userAgent: `${string}/${string} (${string})`

    User agent string sent with requests

  • Readonly stackTrace: false

    Whether to include stack traces in error responses

  • Readonly requestTimeout: 10000

    Request timeout in milliseconds