port: Get the port number

port,BrowserViz-methodR Documentation

Get the port number

Description

Get the port number

Usage

## S4 method for signature 'BrowserViz'
port(obj)

Arguments

obj

An object of class BrowserViz

Value

the port number use in the websocket connection, a numeric value.

Examples

library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
  bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
  port(bvApp)
  closeWebSocket(bvApp)
  }



paul-shannon/BrowserViz documentation built on Nov. 17, 2024, 1:42 p.m.