Closing socket connection
See original GitHub issueI think the readme is misleading, because the code below only unsubscribes but does not close the socket connection.
messagesSubscription.unsubscribe()
hence, how can I close the socket connection ?
(I use Angular)
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
How to completely destroy a socket connection in C
To terminate the accept() ed connection close the accepted socket (what you call connected) by optionally first using shutdown() followed by ...
Read more >Closing a Socket (The GNU C Library)
When you have finished using a socket, you can simply close its file descriptor with close ; see Opening and Closing Files. If...
Read more >Socket.Close Method (System.Net.Sockets)
The Close method closes the remote host connection and releases all managed and unmanaged resources associated with the Socket. Upon closing, the Connected...
Read more >WebSocket.close() - Web APIs - MDN Web Docs
The WebSocket.close() method closes the WebSocket connection or connection attempt, if any. If the connection is already CLOSED ...
Read more >Socket Programming HOWTO — Python 3.6.3 documentation
Most socket libraries, however, are so used to programmers neglecting to use this piece of etiquette that normally a close is the same...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That should be impossible, I suspect you’ve made a mistake elsewhere.
At least your mistake demonstrated how the
share()
operator works to you, it’s pretty cool no? Rxjs is great!