Package-level declarations
Types
Link copied to clipboard
Thrown by NetworkGuard when the Tor SOCKS proxy is unavailable and the killswitch is engaged.
Link copied to clipboard
Fail-closed gate for every network path in the app. No socket, HTTP client, or WebView may be created without first passing assertNetworkAllowed — this is the single choke point that enforces the "Tor-only, no clearnet fallback" guarantee described in docs/ARCHITECTURE.md.
Link copied to clipboard
@Singleton
Builds Ktor/OkHttp clients that are always configured to route through the current Tor SOCKS5 proxy, gated by NetworkGuard. Used by protocol adapters (e.g. Matrix) instead of constructing HTTP clients directly.