MethodChannelOutlineMobileproxy class
An implementation of OutlineMobileproxyPlatform that uses method channels to talk to the native Mobileproxy SDK (Go Mobile bindings) on Android and iOS.
- Inheritance
-
- Object
- PlatformInterface
- OutlineMobileproxyPlatform
- MethodChannelOutlineMobileproxy
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
currentProxy(
) → Future< ProxyInfo?> -
Returns the ProxyInfo of the currently running proxy, or
nullif none is running.override -
getPlatformVersion(
) → Future< String?> -
Returns the platform name and version, e.g.
Android 14oriOS 17.5.override -
isRunning(
) → Future< bool> -
Whether a local proxy is currently running.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{required String transportConfig, String localAddress = '127.0.0.1:0'}) → Future< ProxyInfo> -
Starts a local proxy that forwards traffic through the given
transportConfig.override -
startSmart(
{required SmartDialerConfig config, String localAddress = '127.0.0.1:0'}) → Future< ProxyInfo> -
Starts a local proxy backed by the Smart Dialer, which automatically
selects a working DNS/TLS strategy by probing
SmartDialerConfig.testDomains.
override
-
stop(
{int timeoutSeconds = 5}) → Future< void> -
Stops the currently running local proxy, if any.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited