Exercise solution: Keeping state
Exercise
Write a server using ioServer
, newCounter
, and incrementCounter
. The server should respond with a number that increases by one with each request.
Write a server using ioServer
, newCounter
, and incrementCounter
. The server should respond with a number that increases by one with each request.