JavaScript 消息推送库 Pusher-js

码农软件 · 软件分类 · 网站API · 2019-03-10 10:12:37

软件介绍

Pusher-js 是 Pusher webservice 的 JavaScript 客户端,可利用 Pusher 提供的服务实现消息的推送。

该源码中包含:

  • websocket-js
  • sockjs-client

示例代码:

var socket = new Pusher('MY_API_KEY');
var my_channel = socket.subscribe('my-channel');
socket.bind('new-comment',
  function(data) {
    // add comment into page
  }
);

本文地址:https://www.codercto.com/soft/d/1026.html

Wikis For Dummies

Wikis For Dummies

Dan Woods、Peter Thoeny / For Dummies / 2007-7-23 / USD 24.99

Corporations have finally realized the value of collaboration tools for knowledge sharing and Wiki is the open source technology for creating collaborative Web sites, as either a public site on the In......一起来看看 《Wikis For Dummies》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

SHA 加密
SHA 加密

SHA 加密工具