AWS Hono streaming
An example on how to enable streaming for Lambda functions using Hono.
{ streaming: true}export const handler = streamHandle(app);To test this in your terminal, use the curl command with the --no-buffer option.
curl --no-buffer https://u3dyblk457ghskwbmzrbylpxoi0ayrbb.lambda-url.us-east-1.on.awsStreaming is also supported through API Gateway REST API.
const hono = new sst.aws.Function("Hono", { url: true, streaming: true, timeout: "15 minutes", handler: "index.handler",});View the full example.