Server API
The server provides HTTP endpoints and WebSocket connections for client discovery and CDP message relay.
HTTP Endpoints
Get All Clients (Legacy Format)
Returns a list of all connected clients in legacy format.
Response:
Get All Clients (Detailed)
Returns detailed information about all connected clients.
Response:
Get All Inspectors
Returns a list of all connected inspectors.
Response:
Get Specific Client
Returns information about a specific client.
Serve Client Script
Serves the built client script for embedding in web pages.
WebSocket Protocol
Client Connection
Clients connect to the server via WebSocket:
Inspector Connection
Inspectors connect to the server via WebSocket:
Message Format
All messages use the Chrome DevTools Protocol (CDP) format: