SolidClient class
Low-level HTTP client for Solid Pod communication with DPoP authentication.
Constructors
- SolidClient({required Client client, required SolidAuthProvider authProvider})
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
-
downloadRaw(
String url, {bool requiresAuth = true, String? ifNoneMatch, required IriTerm documentIri, required String acceptContentType, bool isBinary = false}) → Future< RemoteDownloadResult< RawContent> > -
Downloads a resource, returning raw
RawContent(text or binary). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
upload(
String url, RawContent content, {bool requiresAuth = true, String? ifMatch, required IriTerm documentIri}) → Future< RemoteUploadResult> -
Uploads
contenttourlusing HTTP PUT with DPoP authentication.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited