brace/mod-request-laminas

Brace Laminas (former ZendFramework) Framework bindings (ServerRequest)

v2.0.4 2024-04-29 14:11 UTC

This package is auto-updated.

Last update: 2024-06-29 14:28:47 UTC


README

brace-mod-request-laminas

Bindings for laminas framework (former ZendFramework) HttpServerRequest / HttpServerResponse

Streaming a Response

public function streamAction() {
    return new StreaedResponse(function() {
        echo "Hello World";
        flush();
        return true;
    }, 200, ['Content-Type' => 'text/plain']);
}