onOpen

abstract fun onOpen(eventSource: EventSource)

Invoked when an event source has been accepted by the remote peer and may begin transmitting events.