close

fun close()

Closes the HTTP client and releases resources.

Note: Typically not needed in application code. FriendBot maintains a persistent HTTP client for better performance. Only call this if you need to explicitly release resources (e.g., when shutting down your application).

After calling close, FriendBot cannot be used again until the application restarts.