EventSource
open class EventSource(val url: String, init: EventSourceInit = definedExternally) : EventTarget(source)
The EventSource
interface is web content's interface to server-sent events.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The readyState
read-only property of the EventSource interface returns a number representing the state of the connection.
Link copied to clipboard
The withCredentials
read-only property of the EventSource interface returns a boolean value indicating whether the EventSource
object was instantiated with CORS credentials set.