mlx-bun library API
    Preparing search index...
    interface SocketSpec {
        id: string;
        mount?: "module" | "root";
        path: string;
        summary: string;
    }
    Index
    id: string
    mount?: "module" | "root"

    root is for previously shipped paths (/ws/chat); the host rejects collisions, as for routes.

    path: string

    Starts with /; a WebSocket upgrade is a GET, mounted under /api/<module id>, or at the root for mount: "root".

    summary: string