ping

fun ping(session: ExtensionSession, data: String? = null): Int?(source)

Asks session's peer; the result arrives in onResult. Null when not sent (the peer does not speak echo).