Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ buildPing
Function
buildPing
packages/server/src/ws/protocol.ts:55–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
export
function
buildPing(): PingFrame {
56
return
{
57
type
:
'ping'
,
58
timestamp:
new
Date().toISOString(),
59
payload: { nonce: ulid() },
60
};
61
}
62
63
/**
64
* WS.md §2: `ack` frame (S→C). `code` follows REST error namespace
Callers
1
startPingTimer
Method · 0.90
Calls
1
ulid
Function · 0.85
Tested by
no test coverage detected