This course is designed for intermediate JavaScript programmers who need more than the HTTP Request/Response model in their applications. WebSocket protocol allows the server to notify one or more clients or stream data. Attendees will learn [...]
  • JS_WEBSOCKET
  • Duration 2 days
  • 20 ITK points
  • 0 terms
  • Praha (15 400 Kč)

    Brno (15 400 Kč)

    Bratislava (660 €)

  • Intermediate

This course is designed for intermediate JavaScript programmers who need more than the HTTP Request/Response model in their applications. WebSocket protocol allows the server to notify one or more clients or stream data. Attendees will learn about the use of this protocol in web postings. This course assumes knowledge of JavaScript at the [JS_PROG2] course level.

»
  • This course is intended for JS programmers who know JavaScript at the [JS_PROG2] course level.
  • Open and use a web socket on both the server and client side
  • Create a WebSocket client in the browser and in Node.js
  • Make broadcasts and use streams
  • JavaScript at course level [JS_PROG2]

WS protocol

  • WS server
  • Node.js, npm and the ws package
  • WebSocketServer class
  • Event response
    • connect
    • message
    • error

WS client

  • Browser vs Node.js
  • WebSocket class
  • Client authentication
  • Point to point communication
  • Server broadcast
  • Duplex and streaming

Use/share an existing HTTP server

Current offer
Training location
Course language

The prices are without VAT.