not sure if you meant to bind this callback to instance of `WebServer` or not. also, could be a one-liner