Difference: AWEBServer (10 vs. 11)

Revision 112022-11-16 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

A WEB Server and the HTTP Protocol

Exercise 1: Write a Hello World WEB Server

Line: 54 to 54
 

Exercise 5: Server Side Events

Changed:
<
<
In case of AJAX it is the client (browser) who repeatedly asks for new measurement, and it is therefore the browser who determines the timing. Often however, the server should send its data as soon as they are ready. This can be achieved with "server side events". Please see this tutorial for more details: https://www.w3schools.com/html/html5_serversentevents.asp]].
>
>
In case of AJAX it is the client (browser) who repeatedly asks for new measurement, and it is therefore the browser who determines the timing. Often however, the server should send its data as soon as they are ready. This can be achieved with "server side events". Please see this tutorial for more details: https://www.w3schools.com/html/html5_serversentevents.asp.
  Modify exercise 4 to use server side events instead of AJAX for the communication between server and browser.

Exercise 6: Web Sockets

Changed:
<
<
While AJAX and server side events depend on the cmd/response protocole off HTML, web sockets use the own protocol and provide full duplex communication.
See https://www.tutorialspoint.com/websockets/index.htm for more details.
>
>
While AJAX and server side events depend on the cmd/response protocol off HTML, web sockets use their own protocol and provide full duplex communication.
See https://www.tutorialspoint.com/websockets/index.htm for more details.
  First study the websocket examples given in the microdot examples section and then rewrite exercise 4/5 using web sockets.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback