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 was archived by the owner on Dec 8, 2021. It is now read-only.
i was assuming that if i use $response.send() the request is closed and the response is sent to the client. however, the code will continue to run. The result is that the last $ response.send is displayed as a result on the client side. how do I force the code to end the request before the end of the routine is reached?
Hey @loomanss - The return statement would work from a standard route but from a middleware I believe you are going to need the changes I introduced in #192.
Not sure how long before we can get the code out to the gallery as a new version but you could always just download the module from this repo and try it out to make sure it works for you.
i was assuming that if i use $response.send() the request is closed and the response is sent to the client. however, the code will continue to run. The result is that the last $ response.send is displayed as a result on the client side. how do I force the code to end the request before the end of the routine is reached?
my work-around at this moment :
The text was updated successfully, but these errors were encountered: