CustomProxyHttpOverride class
This class overrides the global proxy settings.
- Inheritance
-
- Object
- HttpOverrides
- CustomProxyHttpOverride
Constructors
- CustomProxyHttpOverride.withProxy(String proxyString, {bool allowBadCertificates = false})
- Initializer
Properties
- allowBadCertificates → bool
-
Set this to true
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- proxyString → String
-
The entire proxy server
Format: "localhost:8888"
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createHttpClient(
SecurityContext? context) → HttpClient -
Override HTTP client creation
override
-
findProxyFromEnvironment(
Uri url, Map< String, String> ? environment) → String -
Resolves the proxy server to be used for HTTP connections.
inherited
-
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