ProxyTypes

interface ProxyTypes

提供了一组预定义的代理连接类型(ProxyType)。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getDirect(): ProxyType

表示直接连接,即不使用任何代理。

Link copied to clipboard
abstract fun getHttp(): ProxyType

表示用于HTTP或FTP等高级协议的代理。

Link copied to clipboard
abstract fun getSocks(): ProxyType

表示SOCKS(V4或V5)代理。