Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/7836246/cursor2api
/ json
Method
json
test/unit-openai-log-summary.mjs:67–70 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
65
this.ended = true;
66
}
67
json(obj) {
68
this.writeHead(this.statusCode, {
'Content-Type'
:
'application/json'
});
69
this.end(JSON.stringify(obj));
70
}
71
status(code) {
72
this.statusCode = code;
73
return
this;
Callers
15
init
Function · 0.45
updStats
Function · 0.45
selReq
Function · 0.45
apiFetch
Function · 0.45
saveConfig
Function · 0.45
sendSingleTurn
Function · 0.45
runMultiTurn
Function · 0.45
runMultiTurn
Function · 0.45
chat
Function · 0.45
runTests
Function · 0.45
chat
Function · 0.45
e2e-chat.mjs
File · 0.45
Calls
2
writeHead
Method · 0.95
end
Method · 0.95
Tested by
no test coverage detected