Closed ghost closed 4 years ago
We need to pass the (internal) close reason to our close handler in uWebSockets. This cannot be done since us_socket_close won't bring any user data along to us_socket_context_on_close handler.
We can pass internal reason codes this way as well.
We need to pass the (internal) close reason to our close handler in uWebSockets. This cannot be done since us_socket_close won't bring any user data along to us_socket_context_on_close handler.