Skip to content

Streaming response #289

Open
Open
@hakog77

Description

@hakog77

Hey, what is your opinion about streaming response? AWS announced support for streaming response for AWS Lambda with URL.

The idea is that the handler function is wrapped by streamifyResponse function (provided by AWS):

exports.handler = awslambda.streamifyResponse(
    async (event, responseStream, context) => {
        responseStream.setContentType(“text/plain”);
        responseStream.write(“Hello, world!”);
        responseStream.end();
    }
);

More documentation from AWS:
https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/

Is adding response streams something you would consider to support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions