Returns the state of this EventSource object's connection. It can have the values described below.
Returns the URL providing the event stream.
Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.
Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Generated using TypeDoc