WebSocket: Lightweight Client-Server Communications

WebSocket: Lightweight Client-Server Communications book cover

WebSocket: Lightweight Client-Server Communications

Author(s): Andrew Lombardi (Author)

  • Publisher: O′Reilly
  • Publication Date: 25 Sept. 2015
  • Edition: 1st
  • Language: English
  • Print length: 144 pages
  • ISBN-10: 1449369278
  • ISBN-13: 9781449369279

Book Description

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

Editorial Reviews

Review

Select Guide Rating

About the Author

For the last 5 years, Andrew Lombardi has bounced all over North America and Europe giving dozens of talks at conferences about topics ranging from backend Java development to HTML5 to building for mobile using only JavaScript and many more.

View on Amazon

电子书代发PDF格式价格30我要求助
未经允许不得转载:Wow! eBook » WebSocket: Lightweight Client-Server Communications