All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.dev.arbjerg.lavalink.api.ISocketServer.kt Maven / Gradle / Ivy

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy