# AgoraProxyType (/zh-CN/api-reference/rtc/ios/enum-proxytype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_proxytype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="agoranoneproxytype"></a>
<Parameter name="AgoraNoneProxyType">

（0）：预留用于未来扩展。

</Parameter>
<a id="agoraudpproxytype"></a>
<Parameter name="AgoraUdpProxyType">

（1）：UDP 协议云代理，即强制使用 UDP 云代理模式。在该模式下，SDK 始终通过 UDP 传输数据。

</Parameter>
<a id="agoratcpproxytype"></a>
<Parameter name="AgoraTcpProxyType">

（2）：TCP（加密）协议云代理，即强制使用 TCP 云代理模式。在该模式下，SDK 始终通过 TCP/TLS 443 传输数据。

</Parameter>
<a id="agoralocalproxytype"></a>
<Parameter name="AgoraLocalProxyType">

（3）：预留用于未来扩展。

</Parameter>
<a id="agoratcpproxyautofallbacktype"></a>
<Parameter name="AgoraTcpProxyAutoFallbackType">

（4）：自动模式。在该模式下，SDK 会尝试直接连接 SD-RTN™，若连接失败则自动切换为 TCP/TLS 443。

</Parameter>
<a id="agorahttpproxytype"></a>
<Parameter name="AgoraHttpProxyType">

（5）：HTTP 代理。

</Parameter>
<a id="agorahttpsproxytype"></a>
<Parameter name="AgoraHttpsProxyType">

（6）：HTTPS 代理。

</Parameter>
</ParameterList>
