> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/dai-li/dedicated-isp-proxies/self-service/protocols.md).

# 协议

### HTTP

我们的文档包含代码示例，展示如何使用连接到代理 `HTTP` 协议。该协议受常见库和第三方软件支持。

### HTTPS

你也可以使用通过 `HTTPS` 协议实现的完全加密连接，以增加一层安全性。为此，你必须添加 `https://` 到你的代理入口点。例如： `https://disp.oxylabs.io:8000`

<pre class="language-sh"><code class="lang-sh"><strong>curl -x https://disp.oxylabs.io:8000 -U user-USERNAME:PASSWORD https://ip.oxylabs.io/location 
</strong></code></pre>

### SOCKS5

Oxylabs 独享ISP代理支持两者 `TCP` 和 `UDP` 连接。

要使用 `SOCKS5` 协议，你必须添加 `socks5h://` 到你的代理入口点。例如： `socks5h://disp.oxylabs.io:8000`

```bash
curl -x socks5h://user-USERNAME:PASSWORD@disp.oxylabs.io:8000 https://ip.oxylabs.io/location
```

{% hint style="info" %}
请注意，某些网站在使用该 `SOCKS5` 协议时可能会识别出代理 IP。在这种情况下，我们强烈建议切换到其他协议。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/cn/dai-li/dedicated-isp-proxies/self-service/protocols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
