RelaySetsEngine class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeSubscription(String subId)
→ Future<void>
-
closes the nostr network subscription
override
-
doNostrRequestWithRelaySet(RequestState state, {bool splitRequestsByPubKeyMappings = true})
→ Future<void>
-
-
doRelayRequest(String id, RelayRequestState request)
→ bool
-
-
handleEventBroadcast({required Nip01Event nostrEvent, required EventSigner? signer, required Stream<List<RelayBroadcastResponse>> doneStream, Iterable<String>? specificRelays})
→ NdkBroadcastResponse
-
override
-
handleRequest(RequestState state)
→ Future<void>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
query(Filter filter, RelaySet? relaySet, {required String name, int idleTimeout = RelaySetsEngine.DEFAULT_STREAM_IDLE_TIMEOUT, bool splitRequestsByPubKeyMappings = true})
→ Future<NdkResponse>
-
-
requestRelays(String name, Iterable<String> urls, Filter filter, {int timeout = DEFAULT_STREAM_IDLE_TIMEOUT, bool closeOnEOSE = true, dynamic onTimeout()?})
→ Future<NdkResponse>
-
-
toString()
→ String
-
A string representation of this object.
inherited