Learn R Programming

gym (version 0.1.0)

shutdown_server: Request a server shutdown.

Description

Request a server shutdown.

Usage

shutdown_server(x)

Arguments

x
An instance of class "GymClient"; this object has "remote_base" as an attribute.

Value

NULL Currently used by the integration tests to repeatedly create and destroy fresh copies of the server running in a separate thread.

Examples

Run this code
## Not run: 
# remote_base <- "http://127.0.0.1:5000"
# client <- create_GymClient(remote_base)
# shutdown_server(client)
# ## End(Not run)

Run the code above in your browser using DataLab