Create a server with a custom handler to handle the HTTP request.
create_server(..., handler, ws_open = function(ws) NULL)
Arguments to be passed to server_config()
.
A function that takes the HTTP request and returns a response.
A function to be called back when a WebSocket connection is
established (see httpuv::startServer()
).