RelayRequestState class

Single relay request state

Constructors

RelayRequestState(RelayConnectionKey key, List<Filter> filters)
default const

Properties

closedMessage ↔ String?
message the relay sent with its CLOSED, null when it sent none
getter/setter pair
connectionGone ↔ bool
set when the connection was gone before the relay ended the request
getter/setter pair
filters ↔ List<Filter>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
key → RelayConnectionKey
connection this request was sent on
final
onOutcomeChanged ↔ void Function()?
called by the owning RequestState whenever a field the outcome is derived from changes, so the outcome never has to be derived on read
getter/setter pair
receivedClosed ↔ bool
did the relay end the request itself
getter/setter pair
receivedEOSE ↔ bool
did the relay give everything it stored
getter/setter pair
retryingAuth ↔ bool
set while this connection authenticates to satisfy the request: the relay closed it, but it is on its way back and must not count as finished
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
url of the relay this request was sent to
no setter

Methods

markClosed(String? message) → void
The relay ended the request with a CLOSED carrying message.
markSent() → void
The request is on its way to the relay again, so whatever ended it the last time no longer holds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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