shutdown

abstract fun shutdown()

Stop this instance and cleanup resources.

  • All calls created by this instance will be cancelled.
  • The provided okhttp3.ConnectionPool will have all connections evicted.
  • The okhttp3.Dispatcher will have it's Executor shutdown.
  • If provided, the okhttp3.Cache instance will closed.