R/svHttp-Internal.R

Defines functions .onUnload .onLoad

.onLoad <- function(lib, pkg) {
  # Try starting the Http server
  #try(start_http_server(), silent = TRUE)
}

.onUnload <- function(libpath) {
  # Make sure that the SciViews Http server is closed
  stop_http_server(TRUE)
}

Try the svHttp package in your browser

Any scripts or data that you put into this service are public.

svHttp documentation built on May 10, 2022, 9:06 a.m.