shutdown_server: Request a server shutdown.

Description Usage Arguments Value Examples

View source: R/api.R

Description

Request a server shutdown.

Usage

1

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

1
2
3
4
5
6
## Not run: 
remote_base <- "http://127.0.0.1:5000"
client <- create_GymClient(remote_base)
shutdown_server(client)

## End(Not run)

gym documentation built on May 19, 2017, 10:18 a.m.

Search within the gym package
Search all R packages, documentation and source code