completeJson
completeJson(
status,body,headers?):HttpResponse
Defined in: src/http/Route.ts:65
JSON response with application/json. Shortcut for the 99% case.
Parameters
Section titled “Parameters”status
Section titled “status”number
unknown
headers?
Section titled “headers?”Record<string, string>