Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Large (streaming) response support #41

@RickMoynihan

Description

@RickMoynihan

Hi I'm not sure if this is supported or not, but as far as I can tell this middleware doesn't support (memory) efficient serialisation of large responses.

From looking at the code it seems that objects are fully converted into in memory strings before being returned to the web server. Is this a fair assessment?

Would it be possible to support streaming responses with this middleware?

Perhaps by allowing certain handlers to return a piped-input-stream instead of a String?

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