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 [EPUB ebook]
Lightweight Client-Server Communications
WebSocket [EPUB ebook]
Lightweight Client-Server Communications
Buy this ebook and get 1 more FREE!
Language English ● Format EPUB ● Pages 144 ● ISBN 9781449369231 ● Publisher O’Reilly Media ● Published 2015 ● Downloadable 3 times ● Currency EUR ● ID 4510677 ● Copy protection Adobe DRM
Requires a DRM capable ebook reader