RelayAgentAuth class

Implemented types

Constructors

RelayAgentAuth({String authToken = '', String stableId = '', String agentInstanceId = '', bool acceptsBatches = false})
RelayAgentAuth.fromJson(Map<String, dynamic> json)
factory
RelayAgentAuth.fromReader(TeleportObjectReader reader)
factory
RelayAgentAuth.fromTeleport(Uint8List data)
factory

Properties

acceptsBatches ↔ bool
True when the agent reads several messages from one WebSocket frame, each after the one before it, as its own length says. The relay batches what it sends only to an agent that says so.
getter/setter pair
agentInstanceId ↔ String
getter/setter pair
authToken ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stableId ↔ String
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