Servers
Grafserv has support for a number of Node.js webservers built in, and you can build an adaptor to make Grafserv compatible with your server of choice.
Please see the subpages for the built-in webserver support.
Sequence diagram
If you plan to implement your own Grafserv adaptor (rather than using a built in one), this sequence diagram may aid your understanding: