MCPcopy
hub / github.com/callumalpass/tasknotes / sendResponse

Method sendResponse

src/services/HTTPAPIService.ts:205–207  ·  view source on GitHub ↗
(res: HTTPResponseLike, statusCode: number, data: unknown)

Source from the content-addressed store, hash-verified

203 }
204
205 private sendResponse(res: HTTPResponseLike, statusCode: number, data: unknown): void {
206 sendJSONResponse(res, statusCode, data);
207 }
208
209 private successResponse<T>(
210 data: T,

Callers 15

handleRequestMethod · 0.95
startMethod · 0.95
startPomodoroMethod · 0.80
stopPomodoroMethod · 0.80
pausePomodoroMethod · 0.80
resumePomodoroMethod · 0.80
getPomodoroStatusMethod · 0.80
getPomodoroSessionsMethod · 0.80
getPomodoroStatsMethod · 0.80
getTasksMethod · 0.80
createTaskMethod · 0.80
getTaskMethod · 0.80

Calls 1

sendJSONResponseFunction · 0.90

Tested by

no test coverage detected