• Robert Knight's avatar
    Remove unused code path in `connect` helper · a9184fd0
    Robert Knight authored
    Given the way the `Socket` helper currently works, the `connect` helper
    cannot be called while there is already a connection. `connect` is
    called once during the initial `Socket` constructor and subsequently to
    initiate an automatic reconnect in the event of an abnormal
    disconnection. In both cases there is no existing connection.
    a9184fd0
websocket.js 5.19 KB