psiphon_mobileproxy_platform_interface library

Classes

ProxyInfo
Information about a running local proxy started by PsiphonMobileproxy.
PsiphonMobileproxyPlatform
The interface that implementations of psiphon_mobileproxy must implement.

Exceptions / Errors

InvalidConfigException
Thrown when the supplied Psiphon configuration is not valid JSON, or when Psiphon itself rejects it.
ProxyStartException
Thrown when the tunnel came up but the local proxy could not be started, for example because the requested local address or port is already in use.
ProxyStopException
Thrown when the local proxy or the tunnel could not be stopped cleanly.
PsiphonMobileproxyException
Base class for exceptions thrown by PsiphonMobileproxy.
PsiphonMobileproxyPlatformException
Thrown for any other native-side failure that doesn't map to a more specific exception type.
StorageException
Thrown when the directory Psiphon uses to persist its datastore could not be resolved or created.
TunnelStartException
Thrown when the Psiphon tunnel could not be established for a reason other than a timeout, for example because the device has no network at all.
TunnelTimeoutException
Thrown when the Psiphon tunnel did not connect within the requested timeout.