Welcome Guest, Not a member yet? Register   Sign In
Calling fastcgi_finish_request in post_system event handler
#2

(This post was last modified: 03-07-2022, 11:08 AM by rockinmusicgv.)

Suppose I have an API returning a JSON-serialized object to a client. Can I use fastcgi_finish_request() in an After filter if I know, based on the route, that there is no more data that would be sent to the client?

I'm just not sure what is happening behind the scenes which I might end up breaking by using fastcgi_finish_request() in abnormal places.
Reply


Messages In This Thread
RE: Calling fastcgi_finish_request in post_system event handler - by rockinmusicgv - 03-07-2022, 11:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB