close

abstract fun close(completion: (Exception?) -> Unit? = null)

サーバーとの接続を切断する際にコールされるメソッドです。

Parameters

completion

処理完了時のコールバック。