getConnectionBySecret

abstract fun getConnectionBySecret(@NotNull secret: @NotNull UUID): Optional<C>

Gets the UDP connection by secret.

Return

An optional containing the UDP connection if found, otherwise empty.