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

Function wsUrl

packages/server/test/ws-handshake.e2e.test.ts:100–102  ·  view source on GitHub ↗
(http: string)

Source from the content-addressed store, hash-verified

98}
99
100function wsUrl(http: string): string {
101 return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws';
102}
103
104interface WsFrame {
105 type: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected