Description Usage Arguments Value See Also Examples
View source: R/functions_websocket.R
This method it is use to close open Websocket connections.
1 | trading_ws_close(close_all = TRUE, selection, where_is_env = .GlobalEnv)
|
close_all |
Logical. Should all connections be closed or only the selected ones. |
selection |
List. Is the same name that you have chosen for destination in |
where_is_env |
Environment. Only for advance users. |
If correct, it will show a message saying that the connection has been closed.
Other websocket functions:
trading_ws_md()
,
trading_ws_orders()
1 2 3 4 5 6 | # To close all connections at once
## Not run:
trading_ws_close(close_all = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.