Connect to the url.
url
factory EventSource.connect(String url, {Map<String, String>? headers, bool? withCredentials}) => connectEventSource(url);