Package org.angular.ts.ng
Interface WebTransportReconnectEvent
@JsType(isNative=true,
name="ng.WebTransportReconnectEvent",
namespace="<global>")
public interface WebTransportReconnectEvent
Event passed to WebTransport reconnect and renegotiation hooks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebTransportReconnectEventcreate()doubleOne-based reconnect attempt count for this connection.Stable managed connection whose native `transport` was reopened.getError()Error or close reason that caused the reconnect attempt, when available.getUrl()URL used to open the replacement WebTransport session.voidsetAttempt(double attempt) One-based reconnect attempt count for this connection.voidsetConnection(WebTransportConnection connection) Stable managed connection whose native `transport` was reopened.voidError or close reason that caused the reconnect attempt, when available.voidURL used to open the replacement WebTransport session.
-
Method Details
-
create
-
getAttempt
@JsProperty double getAttempt()One-based reconnect attempt count for this connection. -
getConnection
Stable managed connection whose native `transport` was reopened. -
getError
Error or close reason that caused the reconnect attempt, when available. -
getUrl
URL used to open the replacement WebTransport session. -
setAttempt
@JsProperty void setAttempt(double attempt) One-based reconnect attempt count for this connection. -
setConnection
Stable managed connection whose native `transport` was reopened. -
setError
Error or close reason that caused the reconnect attempt, when available. -
setUrl
URL used to open the replacement WebTransport session.
-