Closed
Description
Hi again!
I opened this #46 issue some time ago.
Today i found a small bug, we forgot to forward arguments in the delegator #close method.
async-websocket/lib/async/websocket/client.rb
Lines 38 to 52 in cff18c0
Here are the arguments I was talking about
https://github.com/socketry/protocol-websocket/blob/58f0d15c6c5b44d224fd7a6eb237ce331bd8a587/lib/protocol/websocket/connection.rb#L62-L63
PeterRunich@3e7698d
i fixed it, but i didn't figure out how to write a test.
i think it should look similar like this test
async-websocket/test/async/websocket/client.rb
Lines 23 to 33 in cff18c0
but i didn't figured out how to expect "moment of closing" on the server and comparing close codes, it would be nice if you explain it (or if it takes less of your time, you can write it yourself :) )
Metadata
Metadata
Assignees
Labels
No labels