TLSConfig class

Constructors

TLSConfig({String? acmeEmail, List<String> extraHosts = const [], bool? staging})
Returns a new TLSConfig instance.

Properties

acmeEmail ↔ String?
ACMEEmail is the ACME account email. It binds an account for the lifetime of an edge process, so it applies only when the edge (re)starts.
getter/setter pair
extraHosts ↔ List<String>
ExtraHosts get certificates without owning a route — at most 256. They feed the ACME HostPolicy and hot-apply on the next reload.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
staging ↔ bool?
Staging issues from Let's Encrypt's staging directory (untrusted certs, high rate limits). Like ACMEEmail it applies only when the edge (re)starts.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) → TLSConfig?
Returns a new TLSConfig instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TLSConfig>
mapFromJson(dynamic json) → Map<String, TLSConfig>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TLSConfig>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.