Stops all Beakr
servers currently running (and any other
servers created with the httpuv package). This function is included to
encourage experimentation so that users who create multiple Beakr
instances can quickly find and stop them all.
See httpuv::stopAllServers
for details.
stopAllServers()
None
library(beakr) beakr1 <- newBeakr() beakr2 <- newBeakr() beakr1 %>% listen(daemon = TRUE, port = 1234, verbose = TRUE)#> Beakr Instance: Project VIP #> State: Active | Host: 127.0.0.1 | Port: 1234 | Middlewares: 0#> Beakr Instance: Shipping School #> State: Active | Host: 127.0.0.1 | Port: 4321 | Middlewares: 0#> [1] 2#> [1] 0