You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
Hi @bilabar
Awesome! Thanks for the interest of using Siler within Swoole!
You're right, there is no trivial way to handle Swoole's request and response objects when requiring files, that is why I changed the labels from question to bug.
To solve that, I added at Swoole namespace the functions: request, response and emit. They internally stores the current Request and Response objects and exposes getters for them.
Hi Leo,
Yesterday, I tried to use Siler with Swoole. It's great. Alas, I can't access GET or POST params when I used files base route.
index.php
controller.php
Is there any way to access it?
The text was updated successfully, but these errors were encountered: