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
Is your feature request related to a problem? Please describe
I searched the documentation and only found this: https://nginx.org/en/docs/njs/reference.html#s_on
I would like to know when a stream (which would also have to be a session) starts and closes again.
Describe the solution you'd like
It would be nice to have "start" and "close" on the event ".on()" for stream and http.
start: A connection from the client is incoming (first connection from the client)
close: The client disconnects
And to be able to identify the session using an “ID”.
Is your feature request related to a problem? Please describe
I searched the documentation and only found this: https://nginx.org/en/docs/njs/reference.html#s_on
I would like to know when a stream (which would also have to be a session) starts and closes again.
Describe the solution you'd like
It would be nice to have "start" and "close" on the event ".on()" for stream and http.
And to be able to identify the session using an “ID”.
As an alternative (This is actually a better approach to get “start” as an event.), I could also imagine having to create an event object/function:
test.js:
The text was updated successfully, but these errors were encountered: