MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / wsUrl

Function wsUrl

packages/server/test/ws-auth.e2e.test.ts:116–118  ·  view source on GitHub ↗
(http: string)

Source from the content-addressed store, hash-verified

114}
115
116function wsUrl(http: string): string {
117 return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws';
118}
119
120function openConn(url: string, opts?: ConnectOptions): Promise<Conn> {
121 return new Promise((resolve, reject) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected