Description Usage Arguments Value See Also Examples
timeouts
1 2 |
proxy |
An object of class "proxy". A proxy object see
|
requestTimeout |
Request timeout in milliseconds. A timeout value of -1 is interpreted as infinite timeout. Optional, default to -1 |
readTimeout |
ead timeout in milliseconds. Which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). A timeout value of zero is interpreted as an infinite timeout. Optional, default to 60000. |
connectionTimeout |
Determines the timeout in milliseconds until a connection is established. A timeout value of zero is interpreted as an infinite timeout. Optional, default to 60000. |
dnsCacheTimeout |
Sets the maximum length of time that records will be stored in this Cache. A nonpositive value disables this feature (that is, sets no limit). Optional, default to "0". |
... |
Additonal function arguments |
invisible(proxy): An object of class "proxy" is invisibly
returned. A proxy object see proxy
. This
allows for chaining from this function to other functions that take
such an object as an argument. See examples for further details.
Other session functions: closeProxy
,
emptyDNS
, getPorts
,
openPort
, setRetry
,
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.