main.dev.arbjerg.lavalink.api.ISocketServer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-api Show documentation
Show all versions of plugin-api Show documentation
API for Lavalink plugin development
The newest version!
package dev.arbjerg.lavalink.api
/**
* Represents a Lavalink server which handles WebSocket connections.
*/
interface ISocketServer {
/**
* A map of all active sessions by their session id.
*/
val sessions: Map
/**
* A map of all resumable sessions by their session id.
* A session is resumable if the client configured resuming and has disconnected.
*/
val resumableSessions: Map
}