RelaySetsEngine class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
doNostrRequestWithRelaySet (RequestState state , {bool splitRequestsByPubKeyMappings = true })
→ Future <void >
doRelayBroadcast (String relayUrl , Nip01Event nostrEvent , BroadcastState broadcastState )
→ Future <void >
=====================================================================================
The flow:
doRelayRequest (String id , RelayRequestState request )
→ Future <bool >
Sends request to its relay. One it cannot be sent to is reported as
notSent before the send path ends, so the request never closes on that
relay as merely disconnected.
handleEventBroadcast ({required Nip01Event nostrEvent , required EventSigner ? signer , required BroadcastState broadcastState , 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
requestRelays (String name , Iterable <String > urls , Filter filter , {Duration timeout = kDefaultStreamIdleTimeout , bool closeOnEOSE = true })
→ Future <NdkResponse >
toString ()
→ String
A string representation of this object.
inherited