Displays a summary of the Metabolomics Workbench REST client configuration, including base URL, caching status, timeout, and cache directory if enabled.
Usage
# S3 method for class 'mw_rest_client'
print(x, ...)Arguments
- x
An object of class
mw_rest_client, as returned bymw_rest_client().- ...
Additional arguments (currently unused).
Value
Invisibly returns the mw_rest_client object passed as input.
This is primarily called for its side effect (printing).
Examples
client <- mw_rest_client(cache = TRUE, timeout = 15)
print(client)
#> Metabolomics Workbench REST Client
#> Base URL: https://www.metabolomicsworkbench.org/rest
#> Caching: Enabled
#> Timeout: 15 seconds
#> Cache directory: /tmp/RtmpcUIEht
