RemoteS5APIProvider class
- Inheritance
-
- Object
- S5APIProvider
- S5APIProviderWithRemoteUpload
- RemoteS5APIProvider
Constructors
- RemoteS5APIProvider(String readApiBaseUrl, {required Client httpClient, required CryptoImplementation crypto})
Properties
- crypto → CryptoImplementation
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
final
-
metadataCache
→ Map<
Multihash, Metadata> -
final
- readApiBaseUrl → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageServiceConfigs
→ List<
StorageServiceConfig> -
finalinherited
Methods
-
deleteCID(
CID cid) → void -
override
-
downloadRawFile(
Multihash hash) → Future< Uint8List> -
override
-
fetchStorageLocationsFromServer(
Multihash hash) → Future< List> -
getMetadataByCID(
CID cid) → Future< Metadata> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registryGet(
Uint8List pk) → Future< SignedRegistryEntry?> -
override
-
registryListen(
Uint8List pk) → Stream< SignedRegistryEntry> -
override
-
registrySet(
SignedRegistryEntry sre) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadDirectory(
Map< String, Stream< fileStreams, Map<List< >int> >String, int> lengths, String name, {List<String> ? tryFiles, Map<String, String> ? errorPages, required Function lookupMimeType}) → Future<CID> -
inherited
-
uploadRawFile(
Uint8List data) → Future< CID> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited