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
Bun 1.1.29 Crossws 0.3.1
peer.close(4001, "some reason");
using peer.close(4001, "some-reason") does not pass the code and reason to the close hook.
peer.close(4001, "some-reason")
code
reason
It seems that an empty {} object is being passed to it.
{}
crossws/src/adapters/bun.ts
Line 62 in 05ded7b
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Bun 1.1.29
Crossws 0.3.1
Reproduction
peer.close(4001, "some reason");
Describe the bug
using
peer.close(4001, "some-reason")
does not pass thecode
andreason
to the close hook.It seems that an empty
{}
object is being passed to it.crossws/src/adapters/bun.ts
Line 62 in 05ded7b
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: