MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / empty

Method empty

packages/core-apps/src/http.ts:20–22  ·  view source on GitHub ↗
(status?: number)

Source from the content-addressed store, hash-verified

18 constructor(private response: Parameters<RequestListener>[1]) {}
19
20 empty(status?: number) {
21 return this.response.writeHead(status ?? 200).end();
22 }
23
24 text(text: string, status?: number, contentType?: string) {
25 return this.response

Callers 3

#createHttpServerMethod · 0.95
#createHttpServerMethod · 0.95
#createHttpServerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected