ProxyInfo class

Configuration info for an HTTP proxy.

For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.

Constructors

ProxyInfo({List<String>? excludedHosts, String? host, String? pacUri, int? port})
ProxyInfo.fromJson(Map json_)

Properties

excludedHosts List<String>?
For a direct proxy, the hosts for which the proxy is bypassed.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String?
The host of the direct proxy.
getter/setter pair
pacUri String?
The URI of the PAC script used to configure the proxy.
getter/setter pair
port int?
The port of the direct proxy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Operators

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