close
Closes all underlying HTTP clients and resources.
This method releases all network resources including HTTP clients for Yahoo Finance, FRED, and Business Insider, as well as WebSocket streaming connections. Should be called when the UFC client is no longer needed.
It is recommended to use the use function for automatic resource management:
Ufc.create().use { ufc ->
// Use the client
}
// Automatically closedContent copied to clipboard