本站提供 8500 多本免费的 IT 技术电子书在线下载。
  1. 文章总数:8391
  2. 浏览总数:1,003,098
  3. 评论:0
  4. 分类目录:125 个
  5. 注册用户数:31
  6. 最后更新:2020年2月29日
过往记忆博客公共帐号iteblog_hadoop
欢迎关注微信公共帐号:
iteblog_hadoop

WebSocket: Lightweight Client-Server Communications

JavaScript iteblog 238℃ 0评论
WebSocket: Lightweight Client-Server Communications
作者:
Andrew Lombardi
ISBN-10:
1449369278
出版年份:
2015
页数:
144
语言:
English
文件大小:
21.22 MB
文件格式:
PDF

图书描述

Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to communicate with the server. With this practical guide, you’ll learn how to use WebSocket, a protocol that enables the client and server to communicate with each other on a single connection simultaneously. No more asynchronous communication or long polling!

For developers with a good grasp of JavaScript (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the WebSocket API. You’ll also learn how to use WebSocket with Transport Layer Security (TLS).

Learn how to use WebSocket API events, messages, attributes, and methods within your client application
Build bi-directional chat applications on the client and server with WebSocket as the communication layer
Create a subprotocol over WebSocket for STOMP 1.0, the Simple Text Oriented Messaging Protocol
Use options for older browsers that don’t natively support WebSocket
Protect your WebSocket application against various attack vectors with TLS and other tools
Debug applications by learning aspects of the WebSocket lifecycle

点击进入下载

喜欢 (1)or分享 (0)
发表我的评论
取消评论

表情
本博客评论系统带有自动识别垃圾评论功能,请写一些有意义的评论,谢谢!