HttpClientConfig class

Configuration parameters specific to dart_wot's HTTP Client implementation.

Annotations
  • @immutable

Constructors

HttpClientConfig({bool withTrustedRoots = true, List<({List<int> certificate, String? password})>? trustedCertificates})
Creates a new HttpClientConfig object.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trustedCertificates → List<({List<int> certificate, String? password})>?
List of trusted certificates that will be added to the security contexts of newly created HTTP clients.
final
withTrustedRoots → bool
Indicates whether the security contexts created from this config will incorporate trusted root certificates from the underlying platform.
final

Methods

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