Description Usage Value Examples
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.
1 |
None
1 2 3 4 5 6 7 8 9 | library(beakr)
beakr1 <- newBeakr()
beakr2 <- newBeakr()
beakr1 %>% listen(daemon = TRUE, port = 1234, verbose = TRUE)
beakr2 %>% listen(daemon = TRUE, port = 4321, verbose = TRUE)
length(listServers())
stopAllServers()
length(listServers())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.