We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guys we have this code in the socket
socket.onclose = (e) => { debug('msl:websocket:close')(${e.code}) if (e.code === CLOSE_GOING_AWAY) { this.onServerClose && this.onServerClose() } // Terminate the streams. incoming.push(null) outgoing.end() }
${e.code}
is there anyway we can pass the entire e object back to the onServerClose so we can send custom reasons?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Guys we have this code in the socket
socket.onclose = (e) => {
debug('msl:websocket:close')(
${e.code}
)if (e.code === CLOSE_GOING_AWAY) {
this.onServerClose && this.onServerClose()
}
// Terminate the streams.
incoming.push(null)
outgoing.end()
}
is there anyway we can pass the entire e object back to the onServerClose so we can send custom reasons?
The text was updated successfully, but these errors were encountered: