Replies: 1 comment
-
my bad ,i've worked it out. <?php
$request = $dispatcher->getDI()->getShared("request");
$request->getHeader();
... with this , i can get anythin' I want. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i wanna build jwt auth in my application (modules ,not micro) , as the documentation events.md said .
i use
dispatcher:beforeRouteExecuted
to do my job.as there is only one parameter $dispatcher,
how could i get headers infomation by $dispatcher
Wish best regards
Beta Was this translation helpful? Give feedback.
All reactions