beakr (version 0.3.1)

stopServer: Stop a beakr instance server

Description

Stops the server associated with a Beakr instance, closing all open connections and unbinding the port.

Usage

stopServer(beakr = NULL, verbose = TRUE)

Arguments

beakr

Beakr instance.

verbose

Logical specifying whether to print out details of the Beakr instance just stopped.

Value

None

Examples

Run this code
# NOT RUN {
beakr <- newBeakr()
beakr %>%
  listen(daemon = TRUE, verbose = TRUE)
stopServer(beakr, verbose = TRUE)
# }

Run the code above in your browser using DataCamp Workspace