Relay class
Properties
- connecting ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- info ↔ RelayInfo?
-
getter/setter pair
- lastConnectTry ↔ int?
-
getter/setter pair
- lastSuccessfulConnect ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats ↔ RelayStats
-
getter/setter pair
- url ↔ String
-
getter/setter pair
Methods
-
failedToConnect(
) → void -
incStatsByNewEvent(
Nip01Event event, int bytes) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
succeededToConnect(
) → void -
supportsNip(
int nip) → bool -
toString(
) → String -
A string representation of this object.
inherited
-
tryingToConnect(
) → void -
wasLastConnectTryLongerThanSeconds(
int seconds) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- RELAY_URL_REGEX ↔ RegExp
-
getter/setter pair