SolidSyncBackend class

Stream-based RemoteSyncBackend for Solid Pod HTTP I/O.

Handles DPoP-authenticated GET/PUT requests and retries once on AuthException by invoking onAuthFailure (which refreshes the token) before the retry attempt.

Constructors

SolidSyncBackend({required SolidClient client, required String contentType, required bool isBinary, required Future<void> onAuthFailure(), required SolidPhysicalDocumentUrlMapper documentUrlMapper})

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

download(Stream<RemoteDownloadRequest> requests) Stream<RemoteDownloadResult<RawContent>>
Download documents from remote storage.
finalize(SyncFinalizationState state, {PipeperfCollector? perf}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upload(Stream<RemoteUploadRequest<RawContent>> requests) Stream<RemoteUploadResult>
Upload documents to remote storage.

Operators

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