Skip to content
New issue

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

Docs are not clear how to close PendingConnection #209

Closed
3noch opened this issue Jun 26, 2020 · 0 comments
Closed

Docs are not clear how to close PendingConnection #209

3noch opened this issue Jun 26, 2020 · 0 comments

Comments

@3noch
Copy link

3noch commented Jun 26, 2020

The docs state

-- '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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant