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 Jan. 15, 2024, 10:27 p.m.