diff --git a/R/static.R b/R/static.R index 23d8e55..bf18176 100644 --- a/R/static.R +++ b/R/static.R @@ -4,7 +4,7 @@ #' @param ... Arguments to be passed to \code{\link{server_config}()}. #' @param handler A function that takes the HTTP request and returns a response. #' @param ws_open A function to be called back when a WebSocket connection is -#' established (see \code{httpuv::\link{startServer}()}). +#' established (see \code{httpuv::\link[httpuv]{startServer}()}). #' @export #' @examplesIf interactive() #' # always return "Success:" followed by the requested path diff --git a/man/create_server.Rd b/man/create_server.Rd index bd4c4d7..71dd701 100644 --- a/man/create_server.Rd +++ b/man/create_server.Rd @@ -12,7 +12,7 @@ create_server(..., handler, ws_open = function(ws) NULL) \item{handler}{A function that takes the HTTP request and returns a response.} \item{ws_open}{A function to be called back when a WebSocket connection is -established (see \code{httpuv::\link{startServer}()}).} +established (see \code{httpuv::\link[httpuv]{startServer}()}).} } \description{ Create a server with a custom handler to handle the HTTP request.