logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Plack::Middleware::BufferedStreaming - Enable buffering for non-streaming aware servers

Author

       Yuval Kogman

       Tatsuhiko Miyagawa

perl v5.38.2                                       2024-01-20             Plack::Middlewa...fferedStreaming(3pm)

Description

       Plack::Middleware::BufferedStreaming is a PSGI middleware component that wraps the application that uses
       "psgi.streaming" interface to run on the servers that do not support the interface, by buffering the
       writer output to a temporary buffer.

       This middleware doesn't do anything and bypass the application if the server supports "psgi.streaming"
       interface, unless you set "force" option (see below).

Name

       Plack::Middleware::BufferedStreaming - Enable buffering for non-streaming aware servers

Options

       force
           Force enable this middleware only if the container supports "psgi.streaming".

Synopsis

         enable "BufferedStreaming";

See Also