()
| 2072 | } |
| 2073 | // When the socket is closed while we're probing |
| 2074 | function onclose() { |
| 2075 | onerror("socket closed"); |
| 2076 | } |
| 2077 | // When the socket is upgraded while we're probing |
| 2078 | function onupgrade(to) { |
| 2079 | if (transport && to.name !== transport.name) { |