onClose

open fun onClose(session: S, statusCode: Int, reason: String)