Giuliopime
03/06/2023, 6:57 PMclose
frame received via a websocket connection?
Or is listening to exception the only way to do that (not ideal since I don't listen to frames I just emit them, maybe the ClosedSendChannelException
works for that but it's not mentioned in the docs)Aleksei Tirman [JB]
03/13/2023, 12:13 PMCancellationException
and ClosedSendChannelException
in a WebSockets handler or use raw WebSockets to manually send and receive the close frames.Giuliopime
03/13/2023, 12:15 PMAleksei Tirman [JB]
03/13/2023, 12:19 PMCancellationException
is thrown when the channel for outgoing frames is cancelled after receiving a close frame.Giuliopime
03/13/2023, 12:21 PM