nwsWebPort {nws}R Documentation

Get web port

Description

Get the web port of the NWS server associated with nwsServer or managedServerInfo object.

Usage

## S4 method for signature 'nwsServer':
nwsWebPort(.Object)
## S4 method for signature 'managedServerInfo':
nwsWebPort(.Object)

Arguments

.Object an object of class nwsServer or managedServerInfo.

Value

a double representing the web port associated with the object.

Examples

## Not run: 
# create an nwsServer and get it's web port
si <- managedServerInfo()
nwsWebPort(si)

# create a connection to the server and verify that you get the same web port
nwsWebPort(nwsServer(serverInfo=si))

## End(Not run)

[Package nws version 2.0.0.3 Index]