Anıl ÜNAL

Results 14 comments of Anıl ÜNAL

Hey @Rican7 , is there any way to respond codes via filter function? ``` $klein->respond(function ($req, $res, $service, $app) { // If http basic auth credentials doesn't exists return $res->code(401);...

Oh, I did a ctrl f "abort" on the main page but couldn't find anything, so I assumed there is no such method. Abort will definitely solve my issue, thanks!

@Rican7 Hey, sorry to disturb again. I cannot get it to work. My code looks like: ``` $klein->with('/v1/?', function () use ($klein) { /* | Before filter. */ $klein->respond(function ($req,...

Worked for me too. I spent a fair amount of time trying to fix this issue.