Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to dispatcher and Swoole HTTP Server instances in extending classes #47

Conversation

weierophinney
Copy link
Contributor

To allow changing how events are attached, particularly when using third-party extensions that need to attach directly to the server and decorate the main functionality (e.g., timers), the swoole instance should be exposed. Exposing the dispatcher also allows extending the various internal methods in a way that allows their individual logic to be wrapped.

Fixes #44

…classes

To allow changing how events are attached, particularly when using third-party extensions that need to attach directly to the server and decorate the main functionality (e.g., timers), the swoole instance should be exposed.
Exposing the dispatcher also allows extending the various internal methods in a way that allows their individual logic to be wrapped.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney added this to the 3.1.0 milestone Dec 2, 2020
@weierophinney weierophinney added the Enhancement New feature or request label Dec 2, 2020
weierophinney added a commit that referenced this pull request Dec 2, 2020
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney merged commit 039cf66 into mezzio:3.1.x Dec 2, 2020
@weierophinney weierophinney deleted the feature/44-allow-access-to-swoole-server-instance branch December 2, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a way to operate over original swoole server instance
1 participant