Skip to content

servr 0.25

Compare
Choose a tag to compare
@yihui yihui released this 04 Nov 17:57
· 46 commits to main since this release
  • Added a function create_server() to create a server with a custom HTTP request handler and optionally a WebSocket handler.

  • Added a function redirect() to return a redirect response.

  • Added a new argument exclude to random_port() to exclude certain port numbers when generating a random available port.

  • The baseurl argument works for all server functions now, such as httd().