<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>即时通讯网 - 网页端IM开发</title>
    <link>http://www.52im.net/forum-111-1.html</link>
    <description>Latest 20 threads of 网页端IM开发</description>
    <copyright>Copyright(C) 即时通讯网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 26 Oct 2026 21:22:37 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.52im.net/static/image/common/logo_88_31.gif</url>
      <title>即时通讯网</title>
      <link>http://www.52im.net/</link>
    </image>
    <item>
      <title>IM聊天不掉线？生产级WebSocket断线重连、心跳保活实战</title>
      <link>http://www.52im.net/thread-4924-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文作者老前端的功夫，即时通讯网有修订和改动。[/zhaiyao2]

聊天聊的正嗨，突然IM消息发不出去，一看控制台——WebSocket disconnected。网络抖动、切换WiFi、电脑休眠都可能触发断线。如果不做掉线重连和心跳保活，用户只能手动刷新页面，体验极差。
 ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 20 Sep 2026 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>Nginx生产级WebSocket实时长连接负载均衡，一文搞定！</title>
      <link>http://www.52im.net/thread-4921-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文作者银河技术，即时通讯网有修订和改动。[/zhaiyao2]

WebSocket 是基于 HTTP/1.1 Upgrade 机制实现的全双工长连接通信协议，广泛应用于 IM即时通讯、实时通知、协同编辑、行情推送、游戏服务等场景。

由于 WebSocket 是长连接 + 状态敏感的协议，在 ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 23 Aug 2026 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>都HTML5了，Web端即时通讯技术到底该用什么？一文即懂！</title>
      <link>http://www.52im.net/thread-4918-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文作者京东物流技术团队卢旭，即时通讯网有修订和改动。[/zhaiyao2]

在 Web端即时通讯技术的实践开发中，它的核心目标是实现客户端（浏览器）与服务器之间低延迟、双向 / 单向的动态数据交互，而非传统 HTTP 的 “请求 - 响应” 模式。

本文分享的是  ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 19 Jul 2026 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>AI大模型爆火的SSE技术到底是什么？万字长文，一篇读懂SSE！</title>
      <link>http://www.52im.net/thread-4885-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由45岁老架构师尼恩分享，感谢作者，即时通讯网有修订和重新排版。[/zhaiyao2]

你有没有想过，为什么 ChatGPT 的回答能逐字逐句地“流”出来？这一切的背后，都离不开一项关键技术——SSE（Server-Sent Events）！



本文从SSE（Server-Sent Even ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 14 Dec 2025 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>ChatGPT如何实现聊天一样的实时交互？快速读懂SSE实时“推”技术</title>
      <link>http://www.52im.net/thread-4872-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由宅小年分享，感谢原作者，即时通讯网有修订和重新排版。[/zhaiyao2]

你有没有想过，为什么 ChatGPT 能够像人类聊天一样，一个字一个字地\&quot;蹦\&quot;出来回答你的问题？为什么股票软件能够实时更新价格，而不需要你疯狂刷新页面？

答案就藏在今天我们要聊 ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 19 Oct 2025 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>转转客服IM系统的WebSocket集群架构设计和部署方案</title>
      <link>http://www.52im.net/thread-4860-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由转转技术李帅分享，原题“转转客服IM的WebSocket集群部署方案”，即时通讯网有修订和重新排版。[/zhaiyao2]

转转作为国内头部的二手闲置交易平台，拥有上亿的用户。用户在使用转转app遇到问题时，一般可以通过在线客服、热线电话等方式联系转转客服 ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 31 Aug 2025 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>支持百万人超大群聊的Web端IM架构设计与实践</title>
      <link>http://www.52im.net/thread-4789-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由vivo互联网服务器团队Cai Linfeng分享，来自公众号“ vivo互联网技术”，原题“百万级群聊的设计实践”，即时通讯网进行了排版优化和内容修订。[/zhaiyao2]

现在IM群聊产品多种多样，有国民级的微信、QQ，企业级的钉钉、飞书，还有许多公司内部的IM ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 09 Mar 2025 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>请问XSS漏洞有现成解决方案吗？</title>
      <link>http://www.52im.net/thread-4786-1-1.html</link>
      <description><![CDATA[在消息框输入以下内容



登录以后，就被重定向了。]]></description>
      <category>网页端IM开发</category>
      <author>batizhao</author>
      <pubDate>Wed, 26 Feb 2025 11:25:37 +0000</pubDate>
    </item>
    <item>
      <title>关于群内昵称的修改后，在消息回显时不生效</title>
      <link>http://www.52im.net/thread-4782-1-1.html</link>
      <description><![CDATA[用例：1、A修改群聊中个人信息的“昵称”，然后发送消息到群聊。

2、群组中 B 收到消息，显示的还是nickname，刷新页面后，nickname_ingroup可以正常显示。
3、B 重新登录进群聊，nickname_ingroup可以正常显示，但是发送新消息，B 的窗口还是显示nickname。
这个 ...]]></description>
      <category>网页端IM开发</category>
      <author>batizhao</author>
      <pubDate>Thu, 13 Feb 2025 09:06:51 +0000</pubDate>
    </item>
    <item>
      <title>[已回复] 求教RainbowChat-Web长链接如何传token?</title>
      <link>http://www.52im.net/thread-4754-1-1.html</link>
      <description><![CDATA[这个配置打开以后，前端要怎样才能把 token 传进来?
只有打开这个配置，接口才校验 token，否则接口可以随便调,不安全。]]></description>
      <category>网页端IM开发</category>
      <author>无心</author>
      <pubDate>Wed, 04 Dec 2024 01:13:29 +0000</pubDate>
    </item>
    <item>
      <title>Web端IM聊天消息该不该用浏览器本地存储？一文即懂！</title>
      <link>http://www.52im.net/thread-4745-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由转转技术团队刘筱雨分享，原题“一文读懂浏览器本地存储：Web Storage”，即时通讯网进行了排版和内容优化。[/zhaiyao2]

鉴于目前浏览器技术的进步（主要是HTML5的普及），在Web网页端IM聊天应用的技术选型阶段，很多开发者都会纠结到底该不该像原生 ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 24 Nov 2024 16:30:00 +0000</pubDate>
    </item>
    <item>
      <title>Wasm在即时通讯IM场景下的Web端应用性能提升初探</title>
      <link>http://www.52im.net/thread-4742-1-1.html</link>
      <description><![CDATA[[zhaiyao2]本文由得物技术WWQ分享，原题“基于IM场景下的Wasm初探：提升Web应用性能”，即时通讯网进行了排版和内容优化。[/zhaiyao2]

Wasm，全称 WebAssembly，官网描述是一种用于基于堆栈的虚拟机的二进制指令格式。Wasm被设计为一个可移植的目标，用于编译C/C++/R ...]]></description>
      <category>网页端IM开发</category>
      <author>JackJiang</author>
      <pubDate>Sun, 17 Nov 2024 16:30:03 +0000</pubDate>
    </item>
    <item>
      <title>问题排查 - Tomcat Websocket 主动断连</title>
      <link>http://www.52im.net/thread-4708-1-1.html</link>
      <description><![CDATA[我最近遇到了一个关于 Tomcat Websocket 的问题，具体信息我整理成了文档，求大佬帮忙，向大佬学习。

文档：https://a5o5vhpnxt.feishu.cn/wik ... ?from=from_copylink]]></description>
      <category>网页端IM开发</category>
      <author>zhaokai</author>
      <pubDate>Thu, 26 Sep 2024 15:20:39 +0000</pubDate>
    </item>
    <item>
      <title>[已回复] MobileIMSDK的uniapp版导出APK在安卓环境下登入不上，如图</title>
      <link>http://www.52im.net/thread-4392-1-1.html</link>
      <description><![CDATA[uniapp 在安卓环境下登入时出现如下问题，登录不上]]></description>
      <category>网页端IM开发</category>
      <author>hxiaotong</author>
      <pubDate>Tue, 15 Aug 2023 03:00:10 +0000</pubDate>
    </item>
    <item>
      <title>[已回复] MobileIMSDK的Uniapp端开发怎么接入MobileIMSDK-Web服务端</title>
      <link>http://www.52im.net/thread-4373-1-1.html</link>
      <description><![CDATA[MobileIMSDK的Uniapp端开发怎么接入MobileIMSDK-Web服务端]]></description>
      <category>网页端IM开发</category>
      <author>hxiaotong</author>
      <pubDate>Tue, 01 Aug 2023 01:29:35 +0000</pubDate>
    </item>
    <item>
      <title>求助，web添加路径名访问后，发群聊消息发不出去</title>
      <link>http://www.52im.net/thread-4253-1-1.html</link>
      <description><![CDATA[求助，web添加路径名访问后，发群聊消息发不出去？什么原因，大佬，急]]></description>
      <category>网页端IM开发</category>
      <author>qinghezi183</author>
      <pubDate>Thu, 25 May 2023 07:14:15 +0000</pubDate>
    </item>
    <item>
      <title>求教Web IM的前端存储最近的聊天消息能不能用浏览器本地存储？</title>
      <link>http://www.52im.net/thread-4118-1-1.html</link>
      <description><![CDATA[web前端是vue，后端是java的netty聊天对象的定义：私聊，群聊，等等


1，请问web前端，需要维护所有聊天对象的，最近的10条或者多条消息么。
存储用途：第一次点击聊天对象的时候，能够快速打开，展示最近的消息。如果需要获取更多，请向上滑动
问题：请问web前端 ...]]></description>
      <category>网页端IM开发</category>
      <author>WarriorFromLong</author>
      <pubDate>Sat, 14 Jan 2023 15:01:49 +0000</pubDate>
    </item>
    <item>
      <title>RainbowChatServer_web部署后，客户扫描SourceMap 文件泄露漏洞</title>
      <link>http://www.52im.net/thread-4099-1-1.html</link>
      <description><![CDATA[求助，大佬，客户扫描漏洞存在，附件有详细描述，请问这个怎么处理啊？这个文件【/socket.io/socket.io.js.map】在依赖包里面]]></description>
      <category>网页端IM开发</category>
      <author>qinghezi183</author>
      <pubDate>Thu, 01 Dec 2022 06:19:20 +0000</pubDate>
    </item>
    <item>
      <title>RainbowChatMQServer服务，消费了几条消息后，就不执行了</title>
      <link>http://www.52im.net/thread-4047-1-1.html</link>
      <description><![CDATA[RainbowChatMQServer服务，部署到生产环境后，mq上有100多条消息，启动后，消费了几条后，就不执行了]]></description>
      <category>网页端IM开发</category>
      <author>qinghezi183</author>
      <pubDate>Mon, 19 Sep 2022 08:37:33 +0000</pubDate>
    </item>
    <item>
      <title>选40多个人创建群组，接口异常了，有什么好的解决方案吗？</title>
      <link>http://www.52im.net/thread-4011-1-1.html</link>
      <description><![CDATA[创建群聊功能，如果选择四十多个用户，直接接口异常了？
前后端报错了，如图：

请问有什么好的解决办法吗？]]></description>
      <category>网页端IM开发</category>
      <author>qinghezi183</author>
      <pubDate>Fri, 12 Aug 2022 08:28:02 +0000</pubDate>
    </item>
  </channel>
</rss>