SecureClient class

Constructors

SecureClient()
factory

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

httpRequest({required String method, required String url, Object? body, Map<String, String>? headers, String? encoding, required List<String> certificateHashes, required PinningMethod pinningMethod, Duration? timeout}) → Future<SmartResponse>
Sends an HTTP request with certificate pinning support.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

maxConcurrentRequests ↔ int
Maximum number of native requests in flight at once; further calls queue. Read when the first request is made, so set it before that.
getter/setter pair