RequestState class

Constructors

RequestState(NdkRequest request)

Properties

activeRelaySubscriptions Map<String, RelayJit>
getter/setter pair
cacheController StreamController<Nip01Event>
cacheController is the controller cacheRead writes to
getter/setter pair
controller StreamController<Nip01Event>
getter/setter pair
didAllRequestsReceivedEOSE bool
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
isSubscription bool
no setter
networkController StreamController<Nip01Event>
networkController used by engines to write their response
getter/setter pair
request NdkRequest
getter/setter pair
requests Map<String, RelayRequestState>
getter/setter pair
returnedIds Set<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldClose bool
no setter
stream Stream<Nip01Event>
no setter
unresolvedFilters List<Filter>
this is the working filter obj, gets initialized with user provided filters. Then on each step (cache, network) resolved filters get removed/updated
final

Methods

addRequest(String url, List<Filter> filters) → void
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