Mastering Node.js by Sandro Pasquali
Author:Sandro Pasquali
Language: eng
Format: epub, mobi
Tags: COM060180 - COMPUTERS / Web / Web Services and APIs, COM060080 - COMPUTERS / Web / General, COM051260 - COMPUTERS / Programming Languages / JavaScript
Publisher: Packt
Published: 2017-12-28T08:31:38+00:00
The EventSource stream protocol
Once a server has established a client connection, it may now send new messages across this persistent connection at any time. These messages consist of one or more lines of text, demarcated by one or several of the following four fields:
event: This is an event type. Messages sent without this field will trigger the client's general EventSource event handler for any message. If set to a string such as latestscore, the client's message handler will not be called, with handling being delegated to a handler bound using EventSource.addEventListener('latestscore'…).
data: This is the message being sent. This is always of the String type, though it can usefully transport objects passed through JSON.stringify().
id: If set, this value will appear as the lastEventID property of the sent message object. This can be useful for ordering, sorting, and other operations on the client.
retry: The reconnection interval, in milliseconds.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9916)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7782)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Svelte with Test-Driven Development by Daniel Irvine(7185)
Test-Driven Development with PHP 8 by Rainier Sarabia(6910)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6777)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6535)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6419)
Web Development with Django by Ben Shaw Saurabh Badhwar(6242)
React Application Architecture for Production by Alan Alickovic(5967)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5807)
Kotlin in Action by Dmitry Jemerov(5066)
Audition by Ryu Murakami(4583)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4460)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4318)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4309)
Functional Programming in JavaScript by Mantyla Dan(4038)
