# 2.1 概览

- [2.1.1 啥是Socket.io](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/what_socket.io_is.md)
- [2.1.2 Socket.io不是什么](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/what_socket.io_is_not.md)
- [2.1.3 安装](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/installing.md)
- [2.1.4 在Node HTTP 服务中使用](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/using_with_node_http_server.md)
- [2.1.5 在express中使用Socket.io](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/using_with_express.md)
- [2.1.6 发送和接收事件](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/sending_and_receiving_events.md)
- [2.1.7 限制自己使用命名空间](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/restricting_yourself_to_a_namespace.md)
- [2.1.8 发送易失性的消息](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/sending_volatile_message.md)
- [2.1.9 发送和获取数据(确认)](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/sending_and_getting_data_acknowledgements.md)
- [2.1.10 广播消息](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/broadcasting_messages.md)
- [2.1.111 作为跨浏览器使用websocket](https://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan/using_it_just_as_a_cross_browser_websocket.md)


---

# 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://socket.gitbook.io/docs/2-wen-dang-docs/2.1-gai-lan.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.
