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

Function wsUrl

packages/server/test/ws-broadcast.e2e.test.ts:76–78  ·  view source on GitHub ↗
(http: string)

Source from the content-addressed store, hash-verified

74}
75
76function wsUrl(http: string): string {
77 return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws';
78}
79
80interface WsFrame {
81 type: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected