Server.php Interfaces, Classes and Traits Server The Server class is used to control a scripted webserver using node.js that will respond to HTTP requests with queued responses.