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, youll learn how to use Web Socket, 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 Java Script (and perhaps Node.js), author Andrew Lombardi provides useful hands-on examples throughout the book to help you get up to speed with the Web Socket API. Youll also learn how to use Web Socket with Transport Layer Security (TLS).Learn how to use Web Socket API events, messages, attributes, and methods within your client application Build bi-directional chat applications on the client and server with Web Socket as the communication layer Create a subprotocol over Web Socket for STOMP 1.0, the Simple Text Oriented Messaging Protocol Use options for older browsers that dont natively support Web Socket Protect your Web Socket application against various attack vectors with TLS and other tools Debug applications by learning aspects of the Web Socket lifecycle
Andrew Lombardi
WebSocket [PDF ebook]
Lightweight Client-Server Communications
WebSocket [PDF ebook]
Lightweight Client-Server Communications
购买此电子书可免费获赠一本!
语言 英语 ● 格式 PDF ● 网页 144 ● ISBN 9781449369255 ● 出版者 O’Reilly Media ● 发布时间 2015 ● 下载 3 时 ● 货币 EUR ● ID 4509204 ● 复制保护 Adobe DRM
需要具备DRM功能的电子书阅读器