ScHttpClient class

Constructors

ScHttpClient([String? getCache(String) = _getCacheDmy, void setCache(String, String, Duration) = _setCacheDmy])

Properties

getCache String? Function(String)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setCache ↔ void Function(String, String, Duration)
getter/setter pair

Methods

get(Uri url, {bool readCache = true, bool writeCache = true, Duration? ttl}) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(Uri url, Object body, String id, Map<String, String> headers, {bool readCache = true, bool writeCache = true, Duration? ttl}) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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