eteona/emitter-middleware

Provides a middleware to send PSR-7 response.


Keywords
http, server, middleware, emit, psr, psr-7, psr-15, eteona
License
BSD-3-Clause

Documentation

Eteona Emitter Middleware

This package provides a middleware to emit a PSR-7 response.

Installation

Run the following to install the library:

$ composer require eteona/emitter-middleware

Usage

use Eteona\Http\Server\EmitterMiddleware;
use Eteona\Http\Message\Emitter\SapiEmitter;

$middleware = new EmitterMiddleware(new SapiEmitter());

Testing

$ composer test

Changelog

Please see the changelog for change details.

Contributing

Please see the contributing guide for details.

Credits

License

The package is an open-sourced software licensed under the BSD-3-Clause License.