ext-openswoole icon indicating copy to clipboard operation
ext-openswoole copied to clipboard

[5.0] Native PSR7 spec support

Open doubaokun opened this issue 2 years ago • 3 comments

To better support upper layer frameworks and application, http messages should follow PSR7 spec.

doubaokun avatar Oct 30 '21 09:10 doubaokun

Wouldn't it be better to create a PSR7 Bridge lib to just convert swoole http message to standard psr7

aiira-co avatar Oct 30 '21 09:10 aiira-co

swoole

Wouldn't it be better to create a PSR7 Bridge lib to just convert swoole http message to standard psr7

I do that with my framework at https://github.com/aiira-co/spatial-core/tree/main/src/swoole and uses it like so at index

aiira-co avatar Oct 30 '21 09:10 aiira-co

Thanks, by providing the native support will save the overhead of the downstream frameworks.

doubaokun avatar Oct 30 '21 12:10 doubaokun

Supported from v22 which will be available soon.

doubaokun avatar Sep 21 '22 22:09 doubaokun