Skip to content

Conversation

@lvluoyue
Copy link
Contributor

@lvluoyue lvluoyue commented Oct 27, 2025

Hi, I need to extend StdioTransport because the framework I'm using has an event loop with stream read and write event listening capabilities, which can perfectly replace while (!feof($this->input)). However, some methods in StdioTransport are not protected, preventing me from implementing the required logic.

@lvluoyue lvluoyue changed the title Change visibility of StdioTransport methods and properties to protected Change visibility of StdioTransport methods to protected Oct 27, 2025
@chr-hertel
Copy link
Member

How about decorating it or implementing a separate transport? which framework are you referring to?

@lvluoyue
Copy link
Contributor Author

lvluoyue commented Oct 27, 2025

How about decorating it or implementing a separate transport? which framework are you referring to?

The framework I mentioned is webman, which encapsulates different event loops into a unified interface, such as Swoole, Swow, and Fiber.

@lvluoyue lvluoyue closed this Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants