Skip to content

Support of stream in HTTP request instead of swoole_http_request->rawContent(): string #2373

Open
@ezimuel

Description

@ezimuel

This is actually not an issue but a request for a new feature/improvement.

Right now, we have only swoole_http_request->rawContent(): string function to get the body of a HTTP request. This can be a limit for big data transfer. The proposal is to use stream to manage the HTTP request and response body. Something similar to the PSR-7 Stream here: https://www.php-fig.org/psr/psr-7/#13-streams.

Do you think that this feature can be added to Swoole? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions