MCPcopy Create free account
hub / github.com/astuyve/lambda-stream / myHandler

Function myHandler

examples/src/handler.ts:6–13  ·  view source on GitHub ↗
(
  event: APIGatewayProxyEvent,
  responseStream: ResponseStream
)

Source from the content-addressed store, hash-verified

4export const handler = streamifyResponse(myHandler)
5
6async function myHandler(
7 event: APIGatewayProxyEvent,
8 responseStream: ResponseStream
9): Promise<void> {
10 responseStream.setContentType('text/plain')
11 responseStream.write('Hello, world!')
12 responseStream.end()
13}

Callers

nothing calls this directly

Calls 1

setContentTypeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…