Package-level declarations

Types

Link copied to clipboard

Manages connected clients and their WebSocket sessions.

Link copied to clipboard
data class ConnectedClient(val session: WebSocketSession, var info: ClientInfo)

Represents a connected client with their session and info.

Link copied to clipboard

DevTools server for handling client connections and state synchronization.

Link copied to clipboard
data class GhostDevice(val ghostClientId: String, val originalClientInfo: ClientInfo, val sessionStartTime: Long, val sessionEndTime: Long, val eventCount: Int = 0, val logicEventCount: Int = 0, val sessionExportJson: String? = null)

Represents a ghost device imported from a recorded session.

Link copied to clipboard
class LocalFileContent(path: Path, val contentType: ContentType = ContentType.defaultForFile(path)) : OutgoingContent.WriteChannelContent

OutgoingContent implementation for serving local files.

Functions

Link copied to clipboard
fun ContentType.Companion.defaultForFile(path: Path): ContentType

Determines the content type based on file extension.

Link copied to clipboard
fun main(args: Array<String>)

Entry point for the DevTools server.

Link copied to clipboard
suspend fun ApplicationCall.respondStatic(path: Path)

Responds with a static file.

Link copied to clipboard
fun Route.staticFiles(folder: String)

Serves files from a static root folder.