class

Sellia::CLI::Inspector

Inherits Reference / Object

The Inspector provides a web UI for viewing tunneled HTTP requests in real-time. It serves the React UI and provides WebSocket and REST endpoints for request data.

Constants

Log = ::Log.for(self)
VITE_HOST = "localhost"

Development mode: proxy to Vite dev server

VITE_PORT = 5173

Constructors

new(port : Int32, store : RequestStore)
Source

Instance methods

port
Source
port=(port : Int32)
Source
running?

Check if the inspector is running

Source
start

Start the inspector HTTP server

Source
stop

Stop the inspector server

Source
store
Source
store=(store : RequestStore)
Source