Class ServerConsoleConnection
Constructors
Methods
connect
- connect(debugLogging?): Promise<void>
Parameters
Optional
debugLogging: boolean
Returns Promise<void>
disconnect
- disconnect(): void
Returns void
getLogs
- getLogs(): Promise<string[]>
Returns Promise<string[]>
on
- on(eventName, listener): void
Returns void
requestLogs
- requestLogs(): void
Returns void
requestStats
- requestStats(): void
Returns void
sendCommand
- sendCommand(cmd): void
Returns void
sendPoweraction
- sendPoweraction(action): void
Returns void
Connect to a servers console. You can then listen on the