Package org.angular.ts.ng
Interface SseConnection
@JsType(isNative=true,
name="ng.SseConnection",
namespace="<global>")
public interface SseConnection
Managed SSE connection object returned by $sse. Provides a safe way to close the connection and stop reconnection attempts.
-
Method Summary
-
Method Details
-
close
void close()Manually close the SSE connection and stop all reconnect attempts -
reconnect
void reconnect()Manually restart the SSE connection.
-