onOpen

open fun onOpen(eventSource: EventSource, response: Response)

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