RelayAgentAuthResult class

Implemented types

Constructors

RelayAgentAuthResult({bool success = false, String publicHost = '', double heartbeatIntervalSeconds = 0.0, bool acceptsBatches = false})
RelayAgentAuthResult.fromJson(Map<String, dynamic> json)
factory
RelayAgentAuthResult.fromReader(TeleportObjectReader reader)
factory
RelayAgentAuthResult.fromTeleport(Uint8List data)
factory

Properties

acceptsBatches ↔ bool
True when the relay reads several messages from one WebSocket frame, each after the one before it, as its own length says. The agent batches what it sends only to a relay that says so.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
heartbeatIntervalSeconds ↔ double
getter/setter pair
publicHost ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success ↔ bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited