You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- 'PendingConnection' should be closed using 'Stream.close' later.
But the linked close works on Streams not PendingConnections. To get a PendingConnection's Stream you must use pendingStream which is only exported by Network.WebSockets.Connection which has a scary warning at the top that you shouldn't use be importing it unless you know what you're doing.
The text was updated successfully, but these errors were encountered:
The docs state
websockets/src/Network/WebSockets/Server.hs
Line 203 in ff17c79
But the linked
close
works onStream
s notPendingConnection
s. To get aPendingConnection
'sStream
you must usependingStream
which is only exported byNetwork.WebSockets.Connection
which has a scary warning at the top that you shouldn't use be importing it unless you know what you're doing.The text was updated successfully, but these errors were encountered: