Skip to main content

close

method EventSource.close
Jump to headingEventSource.close(): void

Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.

Return Type Jump to heading

void
Back to top