国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

仿微信聊天源碼-泡泡IM

webim

聊天源碼介紹

泡泡IM是一套完整的仿微信聊天源碼 ,源碼開源未加密,包含完整的前端、后端、數(shù)據(jù)庫、文檔。此仿微信源碼項(xiàng)目完全獨(dú)立,不依賴第三方即時通訊服務(wù),可直私有化部署聊天系統(tǒng)??捎胔uilder等軟件打包成微信小程序,app。
文檔全面,代碼精簡規(guī)范、低耦合、注釋全面、接口清晰,非常有利于二次開發(fā)。

此聊天源碼對外銷售,購買請進(jìn)入 泡泡IM官網(wǎng)

技術(shù)特點(diǎn)

基于仿微信聊天源碼的界面設(shè)計。后端基于websocket高性能即時通訊解決方案workerman開發(fā),api接口則基于tp5開發(fā)。
前端基于vue開發(fā),前后端分離,模塊化開發(fā)。以websocket協(xié)議完成即時通訊,保證消息數(shù)據(jù)即時傳輸。自帶網(wǎng)絡(luò)檢測,斷網(wǎng)自動重連,保證消息可靠送達(dá)。支持SSL/TLS通信隧道加密。即時通訊部分與業(yè)務(wù)邏輯高度解偶。

源碼片段

function Subscriber(options) {
    this.doNotConnect = 0;
    options = options || {};
    options.heartbeat  = options.heartbeat || 25000;
    options.pingTimeout = options.pingTimeout || 10000;
    this.config = options;
    this.uid = 0;
    this.channels = {};
    this.connection = null;
    this.pingTimeoutTimer = 0;
    Subscriber.instances.push(this);
    this.connect();
}

Subscriber.prototype.checkoutPing = function() {
    var _this = this;
    setTimeout(function () {
        if (_this.connection.networkState == 'established') {
            _this.connection.send('1');
            if (_this.pingTimeoutTimer) {
                clearTimeout(_this.pingTimeoutTimer);
                _this.pingTimeoutTimer = 0;
            }
            _this.pingTimeoutTimer = setTimeout(function () {
                _this.connection.closeAndClean();
                if (!_this.connection.doNotConnect) {
                    _this.connection.waitReconnect();
                }
            }, _this.config.pingTimeout);
        }
    }, this.config.heartbeat);
};

Subscriber.prototype.channel = function (name) {
    return this.channels.find(name);
};
Subscriber.prototype.allChannels = function () {
    return this.channels.all();
};

功能

1、支持發(fā)語音、文字、圖片、表情、文件
2、支持一對一私聊和多對多群聊,一對一視頻聊天
3、群聊支持建群、退群、解散群組、禁言、踢人、拉人進(jìn)群、群備注等功能
4、個人信息支持更改昵稱、頭像、個性簽名等
5、支持查看歷史消息、離線消息
6、支持好友查找、好友申請、同意好友申請、拒絕申請、刪除好友,好友備注
7、支持消息撤回,臟字過濾
8、支持通訊錄,按字母順序排列
9、管理后臺功能
?

效果預(yù)覽

了解更多

如果你想了解更多請參考PHP聊天系統(tǒng)源碼-即時通訊聊天解決方案
?
原文連接:泡泡IM

14792 3 3
3個評論

chenchen

哪里下載呢

  • 暫無評論
4213942

可以對接微信么

  • 暫無評論
JasonXYL

好東西

  • 暫無評論
年代過于久遠(yuǎn),無法發(fā)表評論

webim

44
積分
0
獲贊數(shù)
0
粉絲數(shù)
2019-10-09 加入
??