connect

fun connect()

Connect the EventSource.

connect is idempotent and redundant calls will be ignored. Additionally, the EventSource will remain connected, including reconnecting when necessary, until close is called.