MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / setPort

Method setPort

src/stores/apiServer.ts:81–81  ·  view source on GitHub ↗
(port: number)

Source from the content-addressed store, hash-verified

79 getStatus(): Promise<ApiServerStatus>
80 setEnabled(enabled: boolean): Promise<ApiServerStatus>
81 setPort(port: number): Promise<ApiServerStatus>
82 regenerateToken(): Promise<ApiServerConfig>
83 onStartupError(cb: (data: { error: string }) => void): () => void
84 getDataSources(): Promise<DataSource[]>

Callers 3

registerApiHandlersFunction · 0.80
createElectronTransportFunction · 0.80
setPortFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected