getBrowserResponse: Retrieve the response sent by the browser

getBrowserResponse,BrowserViz-methodR Documentation

Retrieve the response sent by the browser

Description

Retrieve the response sent by the browser

Usage

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

Arguments

obj

An object of class BrowserViz

Examples

library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
  bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
  data <- list(lowercase=letters, uppercase=LETTERS)
  json.returned <- roundTripTest(bvApp, data)
  data.returned <- fromJSON(json.returned)
  stopifnot(identical(data, data.returned))
  closeWebSocket(bvApp)
  }


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