Skip to Main Content
Angular Development with TypeScript, Second Edition
book

Angular Development with TypeScript, Second Edition

by Anton Moiseev, Yakov Fain
December 2018
Intermediate to advanced content levelIntermediate to advanced
560 pages
18h 45m
English
Manning Publications
Content preview from Angular Development with TypeScript, Second Edition

Chapter 13. Interacting with servers using the WebSocket protocol

This chapter covers

  • Implementing a server data push to Angular clients
  • Broadcasting data from the server to multiple clients
  • Splitting ngAuction into two projects
  • Implementing bidding in ngAuction

WebSocket is a low-overhead binary protocol supported by all modern web browsers (see https://en.wikipedia.org/wiki/WebSocket). It allows bidirectional message-oriented streaming of text and binary data between browsers and web servers. In contrast to HTTP, WebSocket is not a request/response-based protocol, and both server apps and client apps can initiate data push to the other party as soon as the data becomes available, in real time. This makes the WebSocket protocol a good fit ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Angular with TypeScript

Angular with TypeScript

Matt Thornfield
Angular (Full App) with Angular Material, Angularfire and NgRx

Angular (Full App) with Angular Material, Angularfire and NgRx

Academind by Maximilian Schwarzmüller GmbH
Angular in Action

Angular in Action

Jeremy Wilken

Publisher Resources

ISBN: 9781617295348Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link