Skip to content

Commit

Permalink
Doc endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
trestletech committed Jul 19, 2017
1 parent 61fe080 commit b8edf01
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/find-port.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ portBlacklist <- c(0, 3659, 4045, 6000, 6665, 6666, 6667, 6668, 6669)

#' Get a random port between 3k and 10k, excluding the blacklist. If a preferred port
#' has already been registered in .globals, use that instead.
#' #' @importFrom stats runif
#' @noRd
getRandomPort <- function(){
port <- 0
Expand Down
3 changes: 3 additions & 0 deletions R/plumber-step.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ getRelevantArgs <- function(args, plumberExpression){
args
}

#' Plumber Endpoint
#'
#' Defines a terminal handler in a PLumber router.
#' @export
PlumberEndpoint <- R6Class(
"PlumberEndpoint",
Expand Down
14 changes: 14 additions & 0 deletions man/PlumberEndpoint.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8edf01

Please sign in to comment.