S5APIProvider class abstract

Constructors

S5APIProvider()

Properties

crypto CryptoImplementation
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteCID(CID cid) Future<void>
downloadMetadata(CID cid, {Route? route}) Future<Metadata>
Download Metadata by its CID
downloadRawFile(Multihash hash, {Route? route}) Future<Uint8List>
Downloads a full file blob to memory, you should only use this if they are smaller than 1 MB
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registryGet(Uint8List pk, {Route? route}) Future<SignedRegistryEntry?>
registryListen(Uint8List pk, {Route? route}) Stream<SignedRegistryEntry>
registrySet(SignedRegistryEntry sre, {Route? route}) Future<void>
streamPublish(SignedStreamMessage msg, {Route? route}) Future<void>
streamSubscribe(Uint8List pk, {int? afterTimestamp, int? beforeTimestamp, Route? route}) Stream<SignedStreamMessage>
toString() String
A string representation of this object.
inherited
uploadBlob(Uint8List data) Future<CID>
Upload a small blob of bytes
uploadRawFile({required Multihash hash, required int size, required OpenReadFunction openRead}) Future<CID>
Upload a raw file

Operators

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