# 协议

**HTTP**

我们的教程文档中包含展示如何使用HTTP协议连接至代理的代码示例，包括通用库和第三方软件也支持此协议。

**HTTPS**

您还可以通过`HTTPS`协议来增强安全性，`HTTPS`协议提供完全加密的连接。因此，您必须将`https://`添加到您的代理入口端。例如：`https://t.pr.thordata.net:9999`。

{% hint style="info" %}
请注意，在修改代码以使用`HTTPS`协议之前，请务必检查，因为有些库（特别是它们的旧版本）以及某些第三方工具可能并不支持`HTTPS`协议
{% endhint %}


---

# Agent Instructions: 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://doc.thordata.com/doc/zh/proxies/residential-proxies/protocol.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.
