NetworkOverride class Null safety

Overrides Certificate Callback

Inheritance
Mixed in types

Constructors

NetworkOverride({bool skipBadCertificate = true})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
skipBadCertificate bool
final

Methods

applySkipBadCerticifate(X509Certificate cert, String host, int port) bool
inherited
createHttpClient(SecurityContext? context) HttpClient
Returns a new HttpClient using the given context. [...]
override
findProxyFromEnvironment(Uri url, Map<String, String>? environment) String
Resolves the proxy server to be used for HTTP connections. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 Methods

applyOverride(HttpOverrides httpOverrides) → void