MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / UiServerHandle

Interface UiServerHandle

src/ui-server/index.ts:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119export interface UiServerHandle {
120 /** The port actually bound (may differ from the requested one — see fallback). */
121 port: number;
122 /** The URL to open. */
123 url: string;
124 /** Directory being served as the viewer. */
125 viewerDir: string;
126 /** The underlying server, for tests and for callers that want raw events. */
127 server: http.Server;
128 /** Stop listening and drop live connections. Idempotent. */
129 close(): Promise<void>;
130}
131
132/**
133 * Response headers sent on EVERY response.

Callers 1

closeFunction · 0.65

Implementers 9

CodeGraphsrc/index.ts
StoreWritersrc/extraction/store-writer.ts
EventHubsrc/ui-server/api/events.ts
GraphSessionsrc/ui-server/api/session.ts
SynthesisStagesrc/db/synthesis-stage.ts
DatabaseConnectionsrc/db/index.ts
NodeSqliteAdaptersrc/db/sqlite-adapter.ts
Stream__tests__/ui-events-api.test.ts
RequestChain__tests__/fixtures/starved-cluster-ts/

Calls

no outgoing calls

Tested by

no test coverage detected