Description Usage Arguments See Also Examples
opens a new port on the BrowserMob Proxy server
This function is usually called via proxy
1 |
proxy |
An object of class "proxy". A proxy object see
|
... |
Additonal function arguments |
Other session functions: closeProxy
,
emptyDNS
, getPorts
,
setRetry
, timeouts
,
waitForTraffic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# A BMP server is assummed running on port 9090
prxy <- proxy(bmpPort = 9090L, port = 39500L)
# get ports with running proxies
prxy %>% getPorts
# set timeouts
prxy %>% timeouts(requestTimeout = 50000L, readTimeout = 50000L,
connectionTimeout = 50000L)
# close proxy and check ports
prxy %>%
closeProxy %>%
getPorts
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.