This class allows to grab the GeoServer version. By default, a tentative is made to fetch version from web admin default page, since Geoserver REST API did not support GET operation for the Geoserver version in past releases of Geoserver.
Methods
Examples
# \dontrun{
version <- GSVersion$new(
url = "http://localhost:8080/geoserver",
user = "admin", pwd = "geoserver"
)
#> Error in curl::curl_fetch_memory(url, handle = handle): Couldn't connect to server [localhost]: Failed to connect to localhost port 8080 after 0 ms: Couldn't connect to server
# }