Method
doClose
packages/engine.io/lib/transports/websocket.ts:108–112
· packages/engine.io/lib/transports/websocket.ts::WebSocket.doClose
(fn?: () => void)
Source from the content-addressed store, hash-verified
| 106 | }; |
| 107 | |
| 108 | doClose(fn?: () => void) { |
| 109 | debug(class="st">"closing"); |
| 110 | this.socket.close(); |
| 111 | fn && fn(); |
| 112 | } |
| 113 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected